diff --git a/src/libs/Cohere/openapi.yaml b/src/libs/Cohere/openapi.yaml index 5e0962a9..403ac3ec 100644 --- a/src/libs/Cohere/openapi.yaml +++ b/src/libs/Cohere/openapi.yaml @@ -56,8 +56,6 @@ paths: response: required: - text - x-fern-audiences: - - public x-fern-type-name: NonStreamedChatResponse properties: text: @@ -142,8 +140,6 @@ paths: response-stream: description: StreamedChatResponse is returned in streaming mode (specified with `stream=True` in the request). - x-fern-audiences: - - public x-fern-type-name: StreamedChatResponse oneOf: - $ref: "#/components/schemas/ChatStreamStartEvent" @@ -6958,8 +6954,6 @@ paths: Generates realistic text conditioned on a given input. response: type: object - x-fern-audiences: - - public x-fern-type-name: Generation required: - id @@ -6994,8 +6988,6 @@ paths: request parameters. Generation tokens are streamed with the GenerationStream response. The final response is of type GenerationFinalResponse. - x-fern-audiences: - - public x-fern-type-name: GenerateStreamedResponse oneOf: - $ref: "#/components/schemas/GenerateStreamText" @@ -21991,8 +21983,6 @@ components: - SYSTEM - USER - TOOL - x-fern-audiences: - - public x-fern-type-name: ChatRole ToolCall: description: | @@ -22014,8 +22004,6 @@ components: type: object additionalProperties: true x-fern-type-name: ToolCall-iovxf2 - x-fern-audiences: - - public x-fern-type-name: ToolCall ChatMessage: description: | @@ -22043,8 +22031,6 @@ components: type: array items: $ref: "#/components/schemas/ToolCall" - x-fern-audiences: - - public x-fern-type-name: ChatMessage ToolResult: type: object @@ -22061,8 +22047,6 @@ components: type: object additionalProperties: true x-fern-type-name: ToolResult-68w0tx - x-fern-audiences: - - public x-fern-type-name: ToolResult ChatToolMessage: description: | @@ -22076,8 +22060,6 @@ components: type: array items: $ref: "#/components/schemas/ToolResult" - x-fern-audiences: - - public x-fern-type-name: ChatToolMessage Message: oneOf: @@ -22090,8 +22072,6 @@ components: SYSTEM: "#/components/schemas/ChatMessage" USER: "#/components/schemas/ChatMessage" TOOL: "#/components/schemas/ChatToolMessage" - x-fern-audiences: - - public x-fern-type-name: Message ChatConnector: description: | @@ -22130,8 +22110,6 @@ components: x-fern-audiences: - public x-fern-type-name: ChatConnector-7ur0eu - x-fern-audiences: - - public x-fern-type-name: ChatConnector ChatDocument: description: | @@ -22151,8 +22129,6 @@ components: x-fern-audiences: - public x-fern-type: map - x-fern-audiences: - - public x-fern-type-name: ChatDocument Tool: type: object @@ -22201,8 +22177,6 @@ components: default: false x-fern-type-name: ToolParameterDefinitionsValue x-fern-type-name: Tool-luhdwe - x-fern-audiences: - - public x-fern-type-name: Tool ResponseFormatType: x-fern-audiences: @@ -22275,8 +22249,6 @@ components: mapping: text: "#/components/schemas/ChatTextResponseFormat" json_object: "#/components/schemas/JSONResponseFormat" - x-fern-audiences: - - public x-fern-type-name: ResponseFormat ChatCitation: description: | @@ -22326,8 +22298,6 @@ components: enum: - TEXT_CONTENT - PLAN - x-fern-audiences: - - public x-fern-type-name: ChatCitation ChatSearchQuery: description: | @@ -22350,8 +22320,6 @@ components: x-fern-audiences: - public format: uuid - x-fern-audiences: - - public x-fern-type-name: ChatSearchQuery ChatSearchResultConnector: description: | @@ -22367,8 +22335,6 @@ components: x-fern-audiences: - public minLength: 1 - x-fern-audiences: - - public x-fern-type-name: ChatSearchResultConnector ChatSearchResult: type: object @@ -22410,8 +22376,6 @@ components: type: boolean x-fern-audiences: - public - x-fern-audiences: - - public x-fern-type-name: ChatSearchResult FinishReason: type: string @@ -22424,8 +22388,6 @@ components: - USER_CANCEL - MAX_TOKENS - TIMEOUT - x-fern-audiences: - - public x-fern-type-name: FinishReason ApiMeta: type: object @@ -22524,14 +22486,10 @@ components: type: string x-fern-audiences: - public - x-fern-audiences: - - public x-fern-type-name: ApiMeta NonStreamedChatResponse: required: - text - x-fern-audiences: - - public x-fern-type-name: NonStreamedChatResponse properties: text: @@ -22628,8 +22586,6 @@ components: - citation-generation - stream-end - debug - x-fern-audiences: - - public x-fern-type-name: ChatStreamEvent ChatStreamStartEvent: allOf: @@ -22647,8 +22603,6 @@ components: format: uuid minLength: 1 x-fern-type-name: ChatStreamStartEvent-5v9jyv - x-fern-audiences: - - public x-fern-type-name: ChatStreamStartEvent ChatSearchQueriesGenerationEvent: allOf: @@ -22665,8 +22619,6 @@ components: items: $ref: "#/components/schemas/ChatSearchQuery" x-fern-type-name: ChatSearchQueriesGenerationEvent-6evypd - x-fern-audiences: - - public x-fern-type-name: ChatSearchQueriesGenerationEvent ChatSearchResultsEvent: allOf: @@ -22692,8 +22644,6 @@ components: items: $ref: "#/components/schemas/ChatDocument" x-fern-type-name: ChatSearchResultsEvent-44axt5 - x-fern-audiences: - - public x-fern-type-name: ChatSearchResultsEvent ChatTextGenerationEvent: allOf: @@ -22710,8 +22660,6 @@ components: - public minLength: 1 x-fern-type-name: ChatTextGenerationEvent-8yyj22 - x-fern-audiences: - - public x-fern-type-name: ChatTextGenerationEvent ChatCitationGenerationEvent: allOf: @@ -22729,8 +22677,6 @@ components: items: $ref: "#/components/schemas/ChatCitation" x-fern-type-name: ChatCitationGenerationEvent-lg3v2o - x-fern-audiences: - - public x-fern-type-name: ChatCitationGenerationEvent ChatToolCallsGenerationEvent: allOf: @@ -22752,8 +22698,6 @@ components: items: $ref: "#/components/schemas/ToolCall" x-fern-type-name: ChatToolCallsGenerationEvent-nykiww - x-fern-audiences: - - public x-fern-type-name: ChatToolCallsGenerationEvent ChatStreamEndEvent: allOf: @@ -22786,8 +22730,6 @@ components: The consolidated response from the model. Contains the generated reply and all the other information streamed back in the previous events. $ref: "#/components/schemas/NonStreamedChatResponse" x-fern-type-name: ChatStreamEndEvent-y8gq2x - x-fern-audiences: - - public x-fern-type-name: ChatStreamEndEvent ToolCallDelta: description: | @@ -22818,8 +22760,6 @@ components: type: string x-fern-audiences: - public - x-fern-audiences: - - public x-fern-type-name: ToolCallDelta ChatToolCallsChunkEvent: allOf: @@ -22837,8 +22777,6 @@ components: x-fern-audiences: - public x-fern-type-name: ChatToolCallsChunkEvent-t7lliu - x-fern-audiences: - - public x-fern-type-name: ChatToolCallsChunkEvent ChatDebugEvent: allOf: @@ -22850,14 +22788,10 @@ components: x-fern-audiences: - public x-fern-type-name: ChatDebugEvent-352j0t - x-fern-audiences: - - public x-fern-type-name: ChatDebugEvent StreamedChatResponse: description: StreamedChatResponse is returned in streaming mode (specified with `stream=True` in the request). - x-fern-audiences: - - public x-fern-type-name: StreamedChatResponse oneOf: - $ref: "#/components/schemas/ChatStreamStartEvent" @@ -23851,13 +23785,9 @@ components: required: - text - id - x-fern-audiences: - - public x-fern-type-name: SingleGeneration Generation: type: object - x-fern-audiences: - - public x-fern-type-name: Generation required: - id @@ -23897,8 +23827,6 @@ components: - text-generation - stream-end - stream-error - x-fern-audiences: - - public x-fern-type-name: GenerateStreamEvent GenerateStreamText: allOf: @@ -23919,8 +23847,6 @@ components: is_finished: type: boolean x-fern-type-name: GenerateStreamText-yai5v6 - x-fern-audiences: - - public x-fern-type-name: GenerateStreamText SingleGenerationInStream: type: object @@ -23948,8 +23874,6 @@ components: - text - id - finish_reason - x-fern-audiences: - - public x-fern-type-name: SingleGenerationInStream GenerateStreamEnd: allOf: @@ -23991,8 +23915,6 @@ components: $ref: "#/components/schemas/SingleGenerationInStream" x-fern-type-name: GenerateStreamEndResponse x-fern-type-name: GenerateStreamEnd-ubzr0t - x-fern-audiences: - - public x-fern-type-name: GenerateStreamEnd GenerateStreamError: allOf: @@ -24023,16 +23945,12 @@ components: type: string description: Error message x-fern-type-name: GenerateStreamError-49d5xw - x-fern-audiences: - - public x-fern-type-name: GenerateStreamError GenerateStreamedResponse: description: Response in content type stream when `stream` is `true` in the request parameters. Generation tokens are streamed with the GenerationStream response. The final response is of type GenerationFinalResponse. - x-fern-audiences: - - public x-fern-type-name: GenerateStreamedResponse oneOf: - $ref: "#/components/schemas/GenerateStreamText" @@ -24060,8 +23978,6 @@ components: - `"classification"`: Used for embeddings passed through a text classifier. - `"clustering"`: Used for the embeddings run through a clustering algorithm. - `"image"`: Used for embeddings with image input. - x-fern-audiences: - - public x-fern-type-name: EmbedInputType EmbeddingType: x-fern-audiences: @@ -24107,8 +24023,6 @@ components: description: Bit depth of the image x-fern-audiences: - public - x-fern-audiences: - - public x-fern-type-name: Image EmbedFloatsResponse: type: object @@ -25201,8 +25115,6 @@ components: api_version: version: "1" api_version: v1 - x-fern-audiences: - - public x-fern-type-name: EmbedFloatsResponse EmbedByTypeResponse: type: object @@ -26507,8 +26419,6 @@ components: meta: api_version: version: "1" - x-fern-audiences: - - public x-fern-type-name: EmbedByTypeResponse EmbedContentType: x-fern-audiences: @@ -26600,8 +26510,6 @@ components: - BATCH_STATUS_CANCELED: The batch has been canceled. x-fern-sdk-group-name: - batches - x-fern-audiences: - - public readOnly: true Batch: type: object @@ -26682,8 +26590,6 @@ components: - model x-fern-sdk-group-name: - batches - x-fern-audiences: - - public ListBatchesResponse: type: object properties: @@ -26701,8 +26607,6 @@ components: description: Response to a request to list batches. x-fern-sdk-group-name: - batches - x-fern-audiences: - - public BatchError: type: object properties: @@ -26712,8 +26616,6 @@ components: description: Error is the response for any unsuccessful event. x-fern-sdk-group-name: - batches - x-fern-audiences: - - public CreateBatchResponse: type: object properties: @@ -26725,8 +26627,6 @@ components: - batch x-fern-sdk-group-name: - batches - x-fern-audiences: - - public GetBatchResponse: type: object properties: @@ -26738,15 +26638,11 @@ components: - batch x-fern-sdk-group-name: - batches - x-fern-audiences: - - public CancelBatchResponse: type: object description: Response to a request to cancel a batch. x-fern-sdk-group-name: - batches - x-fern-audiences: - - public RetryBatchResponse: type: object properties: @@ -26758,8 +26654,6 @@ components: - batch x-fern-sdk-group-name: - batches - x-fern-audiences: - - public EmbedJob: type: object required: @@ -26824,8 +26718,6 @@ components: $ref: "#/components/schemas/ApiMeta" x-fern-audiences: - public - x-fern-audiences: - - public x-fern-type-name: EmbedJob ListEmbedJobResponse: type: object @@ -26836,8 +26728,6 @@ components: $ref: "#/components/schemas/EmbedJob" x-fern-audiences: - public - x-fern-audiences: - - public x-fern-type-name: ListEmbedJobResponse CreateEmbedJobRequest: type: object @@ -26902,8 +26792,6 @@ components: enum: - START - END - x-fern-audiences: - - public x-fern-type-name: CreateEmbedJobRequest CreateEmbedJobResponse: type: object @@ -26919,8 +26807,6 @@ components: $ref: "#/components/schemas/ApiMeta" x-fern-audiences: - public - x-fern-audiences: - - public x-fern-type-name: CreateEmbedJobResponse RerankDocument: type: object @@ -26933,8 +26819,6 @@ components: description: The text of the document to rerank. required: - text - x-fern-audiences: - - public x-fern-type-name: RerankDocument ClassifyExample: type: object @@ -26950,8 +26834,6 @@ components: - public writeOnly: true writeOnly: true - x-fern-audiences: - - public x-fern-type-name: ClassifyExample DatasetValidationStatus: x-fern-audiences: @@ -27038,8 +26920,6 @@ components: x-fern-audiences: - public description: The first few rows of the parsed file - x-fern-audiences: - - public x-fern-type-name: DatasetPart ParseInfo: type: object @@ -27055,8 +26935,6 @@ components: - public writeOnly: true writeOnly: true - x-fern-audiences: - - public x-fern-type-name: ParseInfo RerankerDataMetrics: type: object @@ -27097,8 +26975,6 @@ components: description: The sum of all hard negatives of valid eval examples. x-fern-audiences: - public - x-fern-audiences: - - public x-fern-type-name: RerankerDataMetrics ChatDataMetrics: type: object @@ -27120,8 +26996,6 @@ components: description: The preamble of this dataset. x-fern-audiences: - public - x-fern-audiences: - - public x-fern-type-name: ChatDataMetrics LabelMetric: type: object @@ -27144,8 +27018,6 @@ components: description: samples for this label x-fern-audiences: - public - x-fern-audiences: - - public x-fern-type-name: LabelMetric ClassifyDataMetrics: type: object @@ -27154,8 +27026,6 @@ components: type: array items: $ref: "#/components/schemas/LabelMetric" - x-fern-audiences: - - public x-fern-type-name: ClassifyDataMetrics FinetuneDatasetMetrics: type: object @@ -27202,16 +27072,12 @@ components: $ref: "#/components/schemas/ChatDataMetrics" classify_data_metrics: $ref: "#/components/schemas/ClassifyDataMetrics" - x-fern-audiences: - - public x-fern-type-name: FinetuneDatasetMetrics Metrics: type: object properties: finetune_dataset_metrics: $ref: "#/components/schemas/FinetuneDatasetMetrics" - x-fern-audiences: - - public x-fern-type-name: Metrics Dataset: type: object @@ -27299,8 +27165,6 @@ components: $ref: "#/components/schemas/ParseInfo" metrics: $ref: "#/components/schemas/Metrics" - x-fern-audiences: - - public x-fern-type-name: Dataset ConnectorOAuth: type: object @@ -27336,8 +27200,6 @@ components: x-fern-audiences: - public description: The OAuth scopes to request when users authorize the connector. - x-fern-audiences: - - public x-fern-type-name: ConnectorOAuth Connector: description: |- @@ -27434,8 +27296,6 @@ components: - public description: Whether a chat request should continue or not if the request to this connector fails. - x-fern-audiences: - - public x-fern-type-name: Connector ListConnectorsResponse: type: object @@ -27453,8 +27313,6 @@ components: x-fern-audiences: - public description: Total number of connectors. - x-fern-audiences: - - public x-fern-type-name: ListConnectorsResponse CreateConnectorOAuth: required: @@ -27492,8 +27350,6 @@ components: x-fern-audiences: - public description: The OAuth scopes to request when users authorize the connector. - x-fern-audiences: - - public x-fern-type-name: CreateConnectorOAuth AuthTokenType: type: string @@ -27505,8 +27361,6 @@ components: - basic - noscheme default: noscheme - x-fern-audiences: - - public x-fern-type-name: AuthTokenType CreateConnectorServiceAuth: required: @@ -27525,8 +27379,6 @@ components: description: The token that will be used in the HTTP Authorization header when making requests to the connector. This field is encrypted at rest and never returned in a response. - x-fern-audiences: - - public x-fern-type-name: CreateConnectorServiceAuth CreateConnectorRequest: type: object @@ -27584,8 +27436,6 @@ components: $ref: "#/components/schemas/CreateConnectorServiceAuth" description: The service to service authentication configuration for the connector. Cannot be specified if oauth is specified. - x-fern-audiences: - - public x-fern-type-name: CreateConnectorRequest CreateConnectorResponse: type: object @@ -27594,8 +27444,6 @@ components: properties: connector: $ref: "#/components/schemas/Connector" - x-fern-audiences: - - public x-fern-type-name: CreateConnectorResponse GetConnectorResponse: type: object @@ -27604,13 +27452,9 @@ components: properties: connector: $ref: "#/components/schemas/Connector" - x-fern-audiences: - - public x-fern-type-name: GetConnectorResponse DeleteConnectorResponse: type: object - x-fern-audiences: - - public x-fern-type-name: DeleteConnectorResponse UpdateConnectorRequest: type: object @@ -27657,8 +27501,6 @@ components: $ref: "#/components/schemas/CreateConnectorServiceAuth" description: The service to service authentication configuration for the connector. Cannot be specified if oauth is specified. - x-fern-audiences: - - public x-fern-type-name: UpdateConnectorRequest UpdateConnectorResponse: type: object @@ -27667,8 +27509,6 @@ components: properties: connector: $ref: "#/components/schemas/Connector" - x-fern-audiences: - - public x-fern-type-name: UpdateConnectorResponse OAuthAuthorizeResponse: type: object @@ -27679,8 +27519,6 @@ components: - public description: The OAuth 2.0 redirect url. Redirect the user to this url to authorize the connector. - x-fern-audiences: - - public x-fern-type-name: OAuthAuthorizeResponse ConnectorLog: type: object @@ -28054,8 +27892,6 @@ components: - rerank - rate - generate - x-fern-audiences: - - public x-fern-type-name: CompatibleEndpoint GetModelResponse: description: Contains information about the model and which API endpoints it can @@ -28136,8 +27972,6 @@ components: max_tokens_per_doc: type: integer format: int32 - x-fern-audiences: - - public x-fern-type-name: GetModelResponse ListModelsResponse: type: object @@ -28156,8 +27990,6 @@ components: - public description: A token to retrieve the next page of results. Provide in the page_token parameter of the next request. - x-fern-audiences: - - public x-fern-type-name: ListModelsResponse BaseType: deprecated: true @@ -28593,8 +28425,6 @@ components: id: type: string x-fern-type-name: NotFoundErrorBody - x-fern-audiences: - - public x-fern-type-name: BadRequest Unauthorized: description: | @@ -28611,8 +28441,6 @@ components: id: type: string x-fern-type-name: UnauthorizedErrorBody - x-fern-audiences: - - public x-fern-type-name: Unauthorized Forbidden: description: | @@ -28629,8 +28457,6 @@ components: id: type: string x-fern-type-name: BadRequestErrorBody - x-fern-audiences: - - public x-fern-type-name: Forbidden NotFound: description: | @@ -28647,8 +28473,6 @@ components: id: type: string x-fern-type-name: UnauthorizedErrorBody - x-fern-audiences: - - public x-fern-type-name: NotFound UnprocessableEntity: description: | @@ -28666,8 +28490,6 @@ components: id: type: string x-fern-type-name: UnprocessableEntityErrorBody - x-fern-audiences: - - public x-fern-type-name: UnprocessableEntity RateLimit: description: Too many requests @@ -28681,8 +28503,6 @@ components: id: type: string x-fern-type-name: GatewayTimeoutErrorBody - x-fern-audiences: - - public x-fern-type-name: RateLimit InvalidToken: description: | @@ -28697,8 +28517,6 @@ components: id: type: string x-fern-type-name: ForbiddenErrorBody - x-fern-audiences: - - public x-fern-type-name: InvalidToken RequestCancelled: description: | @@ -28713,8 +28531,6 @@ components: id: type: string x-fern-type-name: InternalServerErrorBody - x-fern-audiences: - - public x-fern-type-name: RequestCancelled InternalServerError: description: | @@ -28729,8 +28545,6 @@ components: id: type: string x-fern-type-name: ServiceUnavailableErrorBody - x-fern-audiences: - - public x-fern-type-name: InternalServerError NotImplemented: description: | @@ -28745,8 +28559,6 @@ components: id: type: string x-fern-type-name: NotImplementedErrorBody - x-fern-audiences: - - public x-fern-type-name: NotImplemented ServiceUnavailable: description: | @@ -28762,8 +28574,6 @@ components: id: type: string x-fern-type-name: TooManyRequestsErrorBody - x-fern-audiences: - - public x-fern-type-name: ServiceUnavailable GatewayTimeout: description: | @@ -28779,8 +28589,6 @@ components: id: type: string x-fern-type-name: InvalidTokenErrorBody - x-fern-audiences: - - public x-fern-type-name: GatewayTimeout headers: ApiWarning: