Skip to content

Commit 5de70d5

Browse files
[NA] [SDK] [DOCS] Update automatically OpenAPI spec and Fern code (#7616)
Co-authored-by: Andres Cruz <andresc@comet.com>
1 parent 5445108 commit 5de70d5

14 files changed

Lines changed: 56 additions & 12 deletions

File tree

apps/opik-documentation/documentation/fern/openapi/opik.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16277,6 +16277,9 @@ components:
1627716277
enum:
1627816278
- TOPIC
1627916279
- PII
16280+
- LLM_JUDGE
16281+
- PROMPT_INJECTION
16282+
- CUSTOM_CLASSIFIER
1628016283
result:
1628116284
type: string
1628216285
enum:
@@ -17932,6 +17935,9 @@ components:
1793217935
enum:
1793317936
- TOPIC
1793417937
- PII
17938+
- LLM_JUDGE
17939+
- PROMPT_INJECTION
17940+
- CUSTOM_CLASSIFIER
1793517941
result:
1793617942
type: string
1793717943
enum:
@@ -17991,6 +17997,9 @@ components:
1799117997
enum:
1799217998
- TOPIC
1799317999
- PII
18000+
- LLM_JUDGE
18001+
- PROMPT_INJECTION
18002+
- CUSTOM_CLASSIFIER
1799418003
result:
1799518004
type: string
1799618005
enum:
@@ -21874,6 +21883,9 @@ components:
2187421883
enum:
2187521884
- TOPIC
2187621885
- PII
21886+
- LLM_JUDGE
21887+
- PROMPT_INJECTION
21888+
- CUSTOM_CLASSIFIER
2187721889
result:
2187821890
type: string
2187921891
enum:

sdks/code_generation/fern/openapi/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16277,6 +16277,9 @@ components:
1627716277
enum:
1627816278
- TOPIC
1627916279
- PII
16280+
- LLM_JUDGE
16281+
- PROMPT_INJECTION
16282+
- CUSTOM_CLASSIFIER
1628016283
result:
1628116284
type: string
1628216285
enum:
@@ -17932,6 +17935,9 @@ components:
1793217935
enum:
1793317936
- TOPIC
1793417937
- PII
17938+
- LLM_JUDGE
17939+
- PROMPT_INJECTION
17940+
- CUSTOM_CLASSIFIER
1793517941
result:
1793617942
type: string
1793717943
enum:
@@ -17991,6 +17997,9 @@ components:
1799117997
enum:
1799217998
- TOPIC
1799317999
- PII
18000+
- LLM_JUDGE
18001+
- PROMPT_INJECTION
18002+
- CUSTOM_CLASSIFIER
1799418003
result:
1799518004
type: string
1799618005
enum:
@@ -21874,6 +21883,9 @@ components:
2187421883
enum:
2187521884
- TOPIC
2187621885
- PII
21886+
- LLM_JUDGE
21887+
- PROMPT_INJECTION
21888+
- CUSTOM_CLASSIFIER
2187721889
result:
2187821890
type: string
2187921891
enum:

sdks/python/src/opik/rest_api/types/check_name.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
import typing
44

5-
CheckName = typing.Union[typing.Literal["TOPIC", "PII"], typing.Any]
5+
CheckName = typing.Union[
6+
typing.Literal["TOPIC", "PII", "LLM_JUDGE", "PROMPT_INJECTION", "CUSTOM_CLASSIFIER"], typing.Any
7+
]

sdks/python/src/opik/rest_api/types/check_public_name.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
import typing
44

5-
CheckPublicName = typing.Union[typing.Literal["TOPIC", "PII"], typing.Any]
5+
CheckPublicName = typing.Union[
6+
typing.Literal["TOPIC", "PII", "LLM_JUDGE", "PROMPT_INJECTION", "CUSTOM_CLASSIFIER"], typing.Any
7+
]

sdks/python/src/opik/rest_api/types/guardrail_name.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
import typing
44

5-
GuardrailName = typing.Union[typing.Literal["TOPIC", "PII"], typing.Any]
5+
GuardrailName = typing.Union[
6+
typing.Literal["TOPIC", "PII", "LLM_JUDGE", "PROMPT_INJECTION", "CUSTOM_CLASSIFIER"], typing.Any
7+
]

sdks/python/src/opik/rest_api/types/guardrail_write_name.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
import typing
44

5-
GuardrailWriteName = typing.Union[typing.Literal["TOPIC", "PII"], typing.Any]
5+
GuardrailWriteName = typing.Union[
6+
typing.Literal["TOPIC", "PII", "LLM_JUDGE", "PROMPT_INJECTION", "CUSTOM_CLASSIFIER"], typing.Any
7+
]

sdks/typescript/src/opik/rest_api/api/types/CheckName.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
export const CheckName = {
44
Topic: "TOPIC",
55
Pii: "PII",
6+
LlmJudge: "LLM_JUDGE",
7+
PromptInjection: "PROMPT_INJECTION",
8+
CustomClassifier: "CUSTOM_CLASSIFIER",
69
} as const;
710
export type CheckName = (typeof CheckName)[keyof typeof CheckName];

sdks/typescript/src/opik/rest_api/api/types/CheckPublicName.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
export const CheckPublicName = {
44
Topic: "TOPIC",
55
Pii: "PII",
6+
LlmJudge: "LLM_JUDGE",
7+
PromptInjection: "PROMPT_INJECTION",
8+
CustomClassifier: "CUSTOM_CLASSIFIER",
69
} as const;
710
export type CheckPublicName = (typeof CheckPublicName)[keyof typeof CheckPublicName];

sdks/typescript/src/opik/rest_api/api/types/GuardrailName.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
export const GuardrailName = {
44
Topic: "TOPIC",
55
Pii: "PII",
6+
LlmJudge: "LLM_JUDGE",
7+
PromptInjection: "PROMPT_INJECTION",
8+
CustomClassifier: "CUSTOM_CLASSIFIER",
69
} as const;
710
export type GuardrailName = (typeof GuardrailName)[keyof typeof GuardrailName];

sdks/typescript/src/opik/rest_api/api/types/GuardrailWriteName.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
export const GuardrailWriteName = {
44
Topic: "TOPIC",
55
Pii: "PII",
6+
LlmJudge: "LLM_JUDGE",
7+
PromptInjection: "PROMPT_INJECTION",
8+
CustomClassifier: "CUSTOM_CLASSIFIER",
69
} as const;
710
export type GuardrailWriteName = (typeof GuardrailWriteName)[keyof typeof GuardrailWriteName];

0 commit comments

Comments
 (0)