Skip to content

Commit

Permalink
Autogenerated code (#1030)
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisTkachenko authored Jan 13, 2025
1 parent 4489475 commit fc0c795
Show file tree
Hide file tree
Showing 176 changed files with 5,392 additions and 248 deletions.
815 changes: 741 additions & 74 deletions apps/opik-documentation/documentation/rest_api/opik.yaml

Large diffs are not rendered by default.

815 changes: 741 additions & 74 deletions sdks/code_generation/fern/openapi/openapi.yaml

Large diffs are not rendered by default.

74 changes: 74 additions & 0 deletions sdks/python/src/opik/rest_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@
AssistantMessage,
AssistantMessageRole,
AuthDetailsHolder,
AutomationRuleEvaluator,
AutomationRuleEvaluatorLlmAsJudge,
AutomationRuleEvaluatorLlmAsJudgePublic,
AutomationRuleEvaluatorLlmAsJudgeWrite,
AutomationRuleEvaluatorObjectPublic,
AutomationRuleEvaluatorObjectPublic_LlmAsJudge,
AutomationRuleEvaluatorPagePublic,
AutomationRuleEvaluatorPublic,
AutomationRuleEvaluatorPublic_LlmAsJudge,
AutomationRuleEvaluatorWrite,
AutomationRuleEvaluatorWrite_LlmAsJudge,
AutomationRuleEvaluator_LlmAsJudge,
AvgValueStatPublic,
BatchDelete,
BiInformation,
Expand Down Expand Up @@ -77,6 +89,7 @@
FeedbackScoreBatchItemSource,
FeedbackScoreCompare,
FeedbackScoreCompareSource,
FeedbackScoreNames,
FeedbackScorePublic,
FeedbackScorePublicSource,
FeedbackScoreSource,
Expand All @@ -95,6 +108,24 @@
JsonObjectSchema,
JsonSchema,
JsonSchemaElement,
LlmAsJudgeCode,
LlmAsJudgeCodePublic,
LlmAsJudgeCodeWrite,
LlmAsJudgeMessage,
LlmAsJudgeMessagePublic,
LlmAsJudgeMessagePublicRole,
LlmAsJudgeMessageRole,
LlmAsJudgeMessageWrite,
LlmAsJudgeMessageWriteRole,
LlmAsJudgeModelParameters,
LlmAsJudgeModelParametersPublic,
LlmAsJudgeModelParametersWrite,
LlmAsJudgeOutputSchema,
LlmAsJudgeOutputSchemaPublic,
LlmAsJudgeOutputSchemaPublicType,
LlmAsJudgeOutputSchemaType,
LlmAsJudgeOutputSchemaWrite,
LlmAsJudgeOutputSchemaWriteType,
Message,
NumericalFeedbackDefinition,
NumericalFeedbackDefinitionCreate,
Expand All @@ -106,6 +137,7 @@
NumericalFeedbackDetailUpdate,
PageColumns,
PercentageValueStatPublic,
PercentageValues,
PercentageValuesPublic,
Project,
ProjectMetricResponsePublic,
Expand All @@ -130,10 +162,13 @@
PromptVersionPagePublic,
PromptVersionPublic,
ProviderApiKey,
ProviderApiKeyProvider,
ProviderApiKeyPublic,
ProviderApiKeyPublicProvider,
ResponseFormat,
ResponseFormatType,
ResultsNumberPublic,
ScoreName,
Span,
SpanBatch,
SpanPagePublic,
Expand Down Expand Up @@ -164,6 +199,7 @@
UnprocessableEntityError,
)
from . import (
automation_rule_evaluators,
chat_completions,
check,
datasets,
Expand All @@ -179,6 +215,7 @@
from .client import AsyncOpikApi, OpikApi
from .environment import OpikApiEnvironment
from .feedback_definitions import FindFeedbackDefinitionsRequestType
from .llm_provider_key import ProviderApiKeyWriteProvider
from .projects import (
ProjectMetricRequestPublicInterval,
ProjectMetricRequestPublicMetricType,
Expand All @@ -194,6 +231,18 @@
"AssistantMessageRole",
"AsyncOpikApi",
"AuthDetailsHolder",
"AutomationRuleEvaluator",
"AutomationRuleEvaluatorLlmAsJudge",
"AutomationRuleEvaluatorLlmAsJudgePublic",
"AutomationRuleEvaluatorLlmAsJudgeWrite",
"AutomationRuleEvaluatorObjectPublic",
"AutomationRuleEvaluatorObjectPublic_LlmAsJudge",
"AutomationRuleEvaluatorPagePublic",
"AutomationRuleEvaluatorPublic",
"AutomationRuleEvaluatorPublic_LlmAsJudge",
"AutomationRuleEvaluatorWrite",
"AutomationRuleEvaluatorWrite_LlmAsJudge",
"AutomationRuleEvaluator_LlmAsJudge",
"AvgValueStatPublic",
"BadRequestError",
"BatchDelete",
Expand Down Expand Up @@ -269,6 +318,7 @@
"FeedbackScoreBatchItemSource",
"FeedbackScoreCompare",
"FeedbackScoreCompareSource",
"FeedbackScoreNames",
"FeedbackScorePublic",
"FeedbackScorePublicSource",
"FeedbackScoreSource",
Expand All @@ -292,6 +342,24 @@
"JsonObjectSchema",
"JsonSchema",
"JsonSchemaElement",
"LlmAsJudgeCode",
"LlmAsJudgeCodePublic",
"LlmAsJudgeCodeWrite",
"LlmAsJudgeMessage",
"LlmAsJudgeMessagePublic",
"LlmAsJudgeMessagePublicRole",
"LlmAsJudgeMessageRole",
"LlmAsJudgeMessageWrite",
"LlmAsJudgeMessageWriteRole",
"LlmAsJudgeModelParameters",
"LlmAsJudgeModelParametersPublic",
"LlmAsJudgeModelParametersWrite",
"LlmAsJudgeOutputSchema",
"LlmAsJudgeOutputSchemaPublic",
"LlmAsJudgeOutputSchemaPublicType",
"LlmAsJudgeOutputSchemaType",
"LlmAsJudgeOutputSchemaWrite",
"LlmAsJudgeOutputSchemaWriteType",
"Message",
"NotFoundError",
"NotImplementedError",
Expand All @@ -307,6 +375,7 @@
"OpikApiEnvironment",
"PageColumns",
"PercentageValueStatPublic",
"PercentageValues",
"PercentageValuesPublic",
"Project",
"ProjectMetricRequestPublicInterval",
Expand All @@ -333,10 +402,14 @@
"PromptVersionPagePublic",
"PromptVersionPublic",
"ProviderApiKey",
"ProviderApiKeyProvider",
"ProviderApiKeyPublic",
"ProviderApiKeyPublicProvider",
"ProviderApiKeyWriteProvider",
"ResponseFormat",
"ResponseFormatType",
"ResultsNumberPublic",
"ScoreName",
"Span",
"SpanBatch",
"SpanPagePublic",
Expand All @@ -358,6 +431,7 @@
"UnprocessableEntityError",
"Usage",
"WorkspaceTraceCount",
"automation_rule_evaluators",
"chat_completions",
"check",
"datasets",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file was auto-generated by Fern from our API Definition.

Loading

0 comments on commit fc0c795

Please sign in to comment.