├── .fern └── metadata.json ├── .fernignore ├── .github └── workflows │ ├── ci.yml │ └── test.yml ├── .gitignore ├── .npmignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── banner.png ├── biome.json ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── reference.md ├── scripts └── rename-to-esm-files.js ├── src ├── AwsClient.ts ├── BaseClient.ts ├── BedrockClient.ts ├── Client.ts ├── ClientV2.ts ├── CustomClient.ts ├── SagemakerClient.ts ├── api │ ├── client │ │ ├── index.ts │ │ └── requests │ │ │ ├── ChatRequest.ts │ │ │ ├── ChatStreamRequest.ts │ │ │ ├── ClassifyRequest.ts │ │ │ ├── DetokenizeRequest.ts │ │ │ ├── EmbedRequest.ts │ │ │ ├── GenerateRequest.ts │ │ │ ├── GenerateStreamRequest.ts │ │ │ ├── RerankRequest.ts │ │ │ ├── SummarizeRequest.ts │ │ │ ├── TokenizeRequest.ts │ │ │ └── index.ts │ ├── errors │ │ ├── BadRequestError.ts │ │ ├── ClientClosedRequestError.ts │ │ ├── ForbiddenError.ts │ │ ├── GatewayTimeoutError.ts │ │ ├── InternalServerError.ts │ │ ├── InvalidTokenError.ts │ │ ├── NotFoundError.ts │ │ ├── NotImplementedError.ts │ │ ├── ServiceUnavailableError.ts │ │ ├── TooManyRequestsError.ts │ │ ├── UnauthorizedError.ts │ │ ├── UnprocessableEntityError.ts │ │ └── index.ts │ ├── index.ts │ ├── resources │ │ ├── batches │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── BatchesListBatchesRequest.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── Batch.ts │ │ │ │ ├── BatchStatus.ts │ │ │ │ ├── CancelBatchResponse.ts │ │ │ │ ├── CreateBatchResponse.ts │ │ │ │ ├── GetBatchResponse.ts │ │ │ │ ├── ListBatchesResponse.ts │ │ │ │ └── index.ts │ │ ├── connectors │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── ConnectorsListRequest.ts │ │ │ │ │ ├── ConnectorsOAuthAuthorizeRequest.ts │ │ │ │ │ ├── CreateConnectorRequest.ts │ │ │ │ │ ├── UpdateConnectorRequest.ts │ │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── datasets │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── DatasetsCreateRequest.ts │ │ │ │ │ ├── DatasetsListRequest.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── DatasetsCreateResponse.ts │ │ │ │ ├── DatasetsGetResponse.ts │ │ │ │ ├── DatasetsGetUsageResponse.ts │ │ │ │ ├── DatasetsListResponse.ts │ │ │ │ └── index.ts │ │ ├── embedJobs │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── CreateEmbedJobRequest.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── CreateEmbedJobRequestTruncate.ts │ │ │ │ └── index.ts │ │ ├── finetuning │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── FinetuningListEventsRequest.ts │ │ │ │ │ ├── FinetuningListFinetunedModelsRequest.ts │ │ │ │ │ ├── FinetuningListTrainingStepMetricsRequest.ts │ │ │ │ │ ├── FinetuningUpdateFinetunedModelRequest.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── resources │ │ │ │ ├── finetuning │ │ │ │ ├── index.ts │ │ │ │ └── types │ │ │ │ │ ├── BaseModel.ts │ │ │ │ │ ├── BaseType.ts │ │ │ │ │ ├── CreateFinetunedModelResponse.ts │ │ │ │ │ ├── DeleteFinetunedModelResponse.ts │ │ │ │ │ ├── Event.ts │ │ │ │ │ ├── FinetunedModel.ts │ │ │ │ │ ├── GetFinetunedModelResponse.ts │ │ │ │ │ ├── Hyperparameters.ts │ │ │ │ │ ├── ListEventsResponse.ts │ │ │ │ │ ├── ListFinetunedModelsResponse.ts │ │ │ │ │ ├── ListTrainingStepMetricsResponse.ts │ │ │ │ │ ├── LoraTargetModules.ts │ │ │ │ │ ├── Settings.ts │ │ │ │ │ ├── Status.ts │ │ │ │ │ ├── Strategy.ts │ │ │ │ │ ├── TrainingStepMetrics.ts │ │ │ │ │ ├── UpdateFinetunedModelResponse.ts │ │ │ │ │ ├── WandbConfig.ts │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── models │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── ModelsListRequest.ts │ │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ └── v2 │ │ │ ├── client │ │ │ ├── Client.ts │ │ │ ├── index.ts │ │ │ └── requests │ │ │ │ ├── V2ChatRequest.ts │ │ │ │ ├── V2ChatStreamRequest.ts │ │ │ │ ├── V2EmbedRequest.ts │ │ │ │ ├── V2RerankRequest.ts │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ ├── V2ChatRequestDocumentsItem.ts │ │ │ ├── V2ChatRequestSafetyMode.ts │ │ │ ├── V2ChatRequestToolChoice.ts │ │ │ ├── V2ChatResponse.ts │ │ │ ├── V2ChatStreamRequestDocumentsItem.ts │ │ │ ├── V2ChatStreamRequestSafetyMode.ts │ │ │ ├── V2ChatStreamRequestToolChoice.ts │ │ │ ├── V2ChatStreamResponse.ts │ │ │ ├── V2EmbedRequestTruncate.ts │ │ │ ├── V2RerankResponse.ts │ │ │ ├── V2RerankResponseResultsItem.ts │ │ │ └── index.ts │ └── types │ │ ├── ApiMeta.ts │ │ ├── ApiMetaApiVersion.ts │ │ ├── ApiMetaBilledUnits.ts │ │ ├── ApiMetaTokens.ts │ │ ├── AssistantMessage.ts │ │ ├── AssistantMessageResponse.ts │ │ ├── AssistantMessageResponseContentItem.ts │ │ ├── AssistantMessageV2Content.ts │ │ ├── AssistantMessageV2ContentItem.ts │ │ ├── AuthTokenType.ts │ │ ├── ChatCitation.ts │ │ ├── ChatCitationGenerationEvent.ts │ │ ├── ChatCitationType.ts │ │ ├── ChatConnector.ts │ │ ├── ChatContentDeltaEvent.ts │ │ ├── ChatContentDeltaEventDelta.ts │ │ ├── ChatContentDeltaEventDeltaMessage.ts │ │ ├── ChatContentDeltaEventDeltaMessageContent.ts │ │ ├── ChatContentEndEvent.ts │ │ ├── ChatContentStartEvent.ts │ │ ├── ChatContentStartEventDelta.ts │ │ ├── ChatContentStartEventDeltaMessage.ts │ │ ├── ChatContentStartEventDeltaMessageContent.ts │ │ ├── ChatContentStartEventDeltaMessageContentType.ts │ │ ├── ChatDataMetrics.ts │ │ ├── ChatDebugEvent.ts │ │ ├── ChatDocument.ts │ │ ├── ChatDocumentSource.ts │ │ ├── ChatFinishReason.ts │ │ ├── ChatMessage.ts │ │ ├── ChatMessageEndEvent.ts │ │ ├── ChatMessageEndEventDelta.ts │ │ ├── ChatMessageStartEvent.ts │ │ ├── ChatMessageStartEventDelta.ts │ │ ├── ChatMessageStartEventDeltaMessage.ts │ │ ├── ChatMessageV2.ts │ │ ├── ChatMessages.ts │ │ ├── ChatRequestCitationQuality.ts │ │ ├── ChatRequestPromptTruncation.ts │ │ ├── ChatRequestSafetyMode.ts │ │ ├── ChatSearchQueriesGenerationEvent.ts │ │ ├── ChatSearchQuery.ts │ │ ├── ChatSearchResult.ts │ │ ├── ChatSearchResultConnector.ts │ │ ├── ChatSearchResultsEvent.ts │ │ ├── ChatStreamEndEvent.ts │ │ ├── ChatStreamEndEventFinishReason.ts │ │ ├── ChatStreamEvent.ts │ │ ├── ChatStreamEventType.ts │ │ ├── ChatStreamRequestCitationQuality.ts │ │ ├── ChatStreamRequestPromptTruncation.ts │ │ ├── ChatStreamRequestSafetyMode.ts │ │ ├── ChatStreamStartEvent.ts │ │ ├── ChatTextContent.ts │ │ ├── ChatTextGenerationEvent.ts │ │ ├── ChatTextResponseFormat.ts │ │ ├── ChatTextResponseFormatV2.ts │ │ ├── ChatThinkingContent.ts │ │ ├── ChatToolCallDeltaEvent.ts │ │ ├── ChatToolCallDeltaEventDelta.ts │ │ ├── ChatToolCallDeltaEventDeltaMessage.ts │ │ ├── ChatToolCallDeltaEventDeltaMessageToolCalls.ts │ │ ├── ChatToolCallDeltaEventDeltaMessageToolCallsFunction.ts │ │ ├── ChatToolCallEndEvent.ts │ │ ├── ChatToolCallStartEvent.ts │ │ ├── ChatToolCallStartEventDelta.ts │ │ ├── ChatToolCallStartEventDeltaMessage.ts │ │ ├── ChatToolCallsChunkEvent.ts │ │ ├── ChatToolCallsGenerationEvent.ts │ │ ├── ChatToolMessage.ts │ │ ├── ChatToolPlanDeltaEvent.ts │ │ ├── ChatToolPlanDeltaEventDelta.ts │ │ ├── ChatToolPlanDeltaEventDeltaMessage.ts │ │ ├── ChatToolSource.ts │ │ ├── CheckApiKeyResponse.ts │ │ ├── Citation.ts │ │ ├── CitationEndEvent.ts │ │ ├── CitationOptions.ts │ │ ├── CitationOptionsMode.ts │ │ ├── CitationStartEvent.ts │ │ ├── CitationStartEventDelta.ts │ │ ├── CitationStartEventDeltaMessage.ts │ │ ├── CitationType.ts │ │ ├── ClassifyDataMetrics.ts │ │ ├── ClassifyExample.ts │ │ ├── ClassifyRequestTruncate.ts │ │ ├── ClassifyResponse.ts │ │ ├── ClassifyResponseClassificationsItem.ts │ │ ├── ClassifyResponseClassificationsItemClassificationType.ts │ │ ├── ClassifyResponseClassificationsItemLabelsValue.ts │ │ ├── CompatibleEndpoint.ts │ │ ├── Connector.ts │ │ ├── ConnectorAuthStatus.ts │ │ ├── ConnectorOAuth.ts │ │ ├── Content.ts │ │ ├── CreateConnectorOAuth.ts │ │ ├── CreateConnectorResponse.ts │ │ ├── CreateConnectorServiceAuth.ts │ │ ├── CreateEmbedJobResponse.ts │ │ ├── Dataset.ts │ │ ├── DatasetPart.ts │ │ ├── DatasetType.ts │ │ ├── DatasetValidationStatus.ts │ │ ├── DeleteConnectorResponse.ts │ │ ├── DetokenizeResponse.ts │ │ ├── Document.ts │ │ ├── DocumentContent.ts │ │ ├── EmbedByTypeResponse.ts │ │ ├── EmbedByTypeResponseEmbeddings.ts │ │ ├── EmbedContent.ts │ │ ├── EmbedFloatsResponse.ts │ │ ├── EmbedImage.ts │ │ ├── EmbedImageUrl.ts │ │ ├── EmbedInput.ts │ │ ├── EmbedInputType.ts │ │ ├── EmbedJob.ts │ │ ├── EmbedJobStatus.ts │ │ ├── EmbedJobTruncate.ts │ │ ├── EmbedRequestTruncate.ts │ │ ├── EmbedResponse.ts │ │ ├── EmbedText.ts │ │ ├── EmbeddingType.ts │ │ ├── FinetuneDatasetMetrics.ts │ │ ├── FinishReason.ts │ │ ├── GenerateRequestReturnLikelihoods.ts │ │ ├── GenerateRequestTruncate.ts │ │ ├── GenerateStreamEnd.ts │ │ ├── GenerateStreamEndResponse.ts │ │ ├── GenerateStreamError.ts │ │ ├── GenerateStreamEvent.ts │ │ ├── GenerateStreamRequestReturnLikelihoods.ts │ │ ├── GenerateStreamRequestTruncate.ts │ │ ├── GenerateStreamText.ts │ │ ├── GenerateStreamedResponse.ts │ │ ├── Generation.ts │ │ ├── GetConnectorResponse.ts │ │ ├── GetModelResponse.ts │ │ ├── Image.ts │ │ ├── ImageContent.ts │ │ ├── ImageUrl.ts │ │ ├── ImageUrlDetail.ts │ │ ├── JsonResponseFormat.ts │ │ ├── JsonResponseFormatV2.ts │ │ ├── LabelMetric.ts │ │ ├── ListConnectorsResponse.ts │ │ ├── ListEmbedJobResponse.ts │ │ ├── ListModelsResponse.ts │ │ ├── LogprobItem.ts │ │ ├── Message.ts │ │ ├── Metrics.ts │ │ ├── NonStreamedChatResponse.ts │ │ ├── OAuthAuthorizeResponse.ts │ │ ├── ParseInfo.ts │ │ ├── RerankDocument.ts │ │ ├── RerankRequestDocumentsItem.ts │ │ ├── RerankResponse.ts │ │ ├── RerankResponseResultsItem.ts │ │ ├── RerankResponseResultsItemDocument.ts │ │ ├── RerankerDataMetrics.ts │ │ ├── ResponseFormat.ts │ │ ├── ResponseFormatV2.ts │ │ ├── SingleGeneration.ts │ │ ├── SingleGenerationInStream.ts │ │ ├── SingleGenerationTokenLikelihoodsItem.ts │ │ ├── Source.ts │ │ ├── StreamedChatResponse.ts │ │ ├── SummarizeRequestExtractiveness.ts │ │ ├── SummarizeRequestFormat.ts │ │ ├── SummarizeRequestLength.ts │ │ ├── SummarizeResponse.ts │ │ ├── SystemMessageV2.ts │ │ ├── SystemMessageV2Content.ts │ │ ├── SystemMessageV2ContentItem.ts │ │ ├── Thinking.ts │ │ ├── ThinkingType.ts │ │ ├── TokenizeResponse.ts │ │ ├── Tool.ts │ │ ├── ToolCall.ts │ │ ├── ToolCallDelta.ts │ │ ├── ToolCallV2.ts │ │ ├── ToolCallV2Function.ts │ │ ├── ToolContent.ts │ │ ├── ToolMessageV2.ts │ │ ├── ToolMessageV2Content.ts │ │ ├── ToolParameterDefinitionsValue.ts │ │ ├── ToolResult.ts │ │ ├── ToolV2.ts │ │ ├── ToolV2Function.ts │ │ ├── UpdateConnectorResponse.ts │ │ ├── Usage.ts │ │ ├── UsageBilledUnits.ts │ │ ├── UsageTokens.ts │ │ ├── UserMessageV2.ts │ │ ├── UserMessageV2Content.ts │ │ └── index.ts ├── aws-utils.ts ├── core │ ├── auth │ │ ├── AuthProvider.ts │ │ ├── AuthRequest.ts │ │ ├── BasicAuth.ts │ │ ├── BearerToken.ts │ │ └── index.ts │ ├── base64.ts │ ├── exports.ts │ ├── fetcher │ │ ├── APIResponse.ts │ │ ├── BinaryResponse.ts │ │ ├── EndpointMetadata.ts │ │ ├── EndpointSupplier.ts │ │ ├── Fetcher.ts │ │ ├── Headers.ts │ │ ├── HttpResponsePromise.ts │ │ ├── RawResponse.ts │ │ ├── ResponseWithBody.ts │ │ ├── Supplier.ts │ │ ├── createRequestUrl.ts │ │ ├── getErrorResponseBody.ts │ │ ├── getFetchFn.ts │ │ ├── getHeader.ts │ │ ├── getRequestBody.ts │ │ ├── getResponseBody.ts │ │ ├── index.ts │ │ ├── makeRequest.ts │ │ ├── requestWithRetries.ts │ │ └── signals.ts │ ├── file │ │ ├── exports.ts │ │ ├── file.ts │ │ ├── index.ts │ │ └── types.ts │ ├── form-data-utils │ │ ├── FormDataWrapper.ts │ │ ├── encodeAsFormParameter.ts │ │ └── index.ts │ ├── headers.ts │ ├── index.ts │ ├── json.ts │ ├── logging │ │ ├── exports.ts │ │ ├── index.ts │ │ └── logger.ts │ ├── runtime │ │ ├── index.ts │ │ └── runtime.ts │ ├── schemas │ │ ├── Schema.ts │ │ ├── builders │ │ │ ├── bigint │ │ │ │ ├── bigint.ts │ │ │ │ └── index.ts │ │ │ ├── date │ │ │ │ ├── date.ts │ │ │ │ └── index.ts │ │ │ ├── enum │ │ │ │ ├── enum.ts │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ ├── lazy │ │ │ │ ├── index.ts │ │ │ │ ├── lazy.ts │ │ │ │ └── lazyObject.ts │ │ │ ├── list │ │ │ │ ├── index.ts │ │ │ │ └── list.ts │ │ │ ├── literals │ │ │ │ ├── booleanLiteral.ts │ │ │ │ ├── index.ts │ │ │ │ └── stringLiteral.ts │ │ │ ├── object-like │ │ │ │ ├── getObjectLikeUtils.ts │ │ │ │ ├── index.ts │ │ │ │ └── types.ts │ │ │ ├── object │ │ │ │ ├── index.ts │ │ │ │ ├── object.ts │ │ │ │ ├── objectWithoutOptionalProperties.ts │ │ │ │ ├── property.ts │ │ │ │ └── types.ts │ │ │ ├── primitives │ │ │ │ ├── any.ts │ │ │ │ ├── boolean.ts │ │ │ │ ├── index.ts │ │ │ │ ├── never.ts │ │ │ │ ├── number.ts │ │ │ │ ├── string.ts │ │ │ │ └── unknown.ts │ │ │ ├── record │ │ │ │ ├── index.ts │ │ │ │ ├── record.ts │ │ │ │ └── types.ts │ │ │ ├── schema-utils │ │ │ │ ├── JsonError.ts │ │ │ │ ├── ParseError.ts │ │ │ │ ├── getSchemaUtils.ts │ │ │ │ ├── index.ts │ │ │ │ └── stringifyValidationErrors.ts │ │ │ ├── set │ │ │ │ ├── index.ts │ │ │ │ └── set.ts │ │ │ ├── undiscriminated-union │ │ │ │ ├── index.ts │ │ │ │ ├── types.ts │ │ │ │ └── undiscriminatedUnion.ts │ │ │ └── union │ │ │ │ ├── discriminant.ts │ │ │ │ ├── index.ts │ │ │ │ ├── types.ts │ │ │ │ └── union.ts │ │ ├── index.ts │ │ └── utils │ │ │ ├── MaybePromise.ts │ │ │ ├── addQuestionMarksToNullableProperties.ts │ │ │ ├── createIdentitySchemaCreator.ts │ │ │ ├── entries.ts │ │ │ ├── filterObject.ts │ │ │ ├── getErrorMessageForIncorrectType.ts │ │ │ ├── isPlainObject.ts │ │ │ ├── keys.ts │ │ │ ├── maybeSkipValidation.ts │ │ │ └── partition.ts │ ├── stream │ │ ├── Stream.ts │ │ └── index.ts │ ├── streaming-fetcher │ │ └── streaming-utils.ts │ └── url │ │ ├── encodePathParam.ts │ │ ├── index.ts │ │ ├── join.ts │ │ └── qs.ts ├── environments.ts ├── errors │ ├── CohereError.ts │ ├── CohereTimeoutError.ts │ └── index.ts ├── exports.ts ├── index.ts ├── serialization │ ├── client │ │ ├── index.ts │ │ └── requests │ │ │ ├── ChatRequest.ts │ │ │ ├── ChatStreamRequest.ts │ │ │ ├── ClassifyRequest.ts │ │ │ ├── DetokenizeRequest.ts │ │ │ ├── EmbedRequest.ts │ │ │ ├── GenerateRequest.ts │ │ │ ├── GenerateStreamRequest.ts │ │ │ ├── RerankRequest.ts │ │ │ ├── SummarizeRequest.ts │ │ │ ├── TokenizeRequest.ts │ │ │ └── index.ts │ ├── index.ts │ ├── resources │ │ ├── batches │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── Batch.ts │ │ │ │ ├── BatchStatus.ts │ │ │ │ ├── CancelBatchResponse.ts │ │ │ │ ├── CreateBatchResponse.ts │ │ │ │ ├── GetBatchResponse.ts │ │ │ │ ├── ListBatchesResponse.ts │ │ │ │ └── index.ts │ │ ├── connectors │ │ │ ├── client │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── CreateConnectorRequest.ts │ │ │ │ │ ├── UpdateConnectorRequest.ts │ │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── datasets │ │ │ ├── client │ │ │ │ ├── delete.ts │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── DatasetsCreateResponse.ts │ │ │ │ ├── DatasetsGetResponse.ts │ │ │ │ ├── DatasetsGetUsageResponse.ts │ │ │ │ ├── DatasetsListResponse.ts │ │ │ │ └── index.ts │ │ ├── embedJobs │ │ │ ├── client │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── CreateEmbedJobRequest.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── CreateEmbedJobRequestTruncate.ts │ │ │ │ └── index.ts │ │ ├── finetuning │ │ │ ├── client │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── FinetuningUpdateFinetunedModelRequest.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── resources │ │ │ │ ├── finetuning │ │ │ │ ├── index.ts │ │ │ │ └── types │ │ │ │ │ ├── BaseModel.ts │ │ │ │ │ ├── BaseType.ts │ │ │ │ │ ├── CreateFinetunedModelResponse.ts │ │ │ │ │ ├── DeleteFinetunedModelResponse.ts │ │ │ │ │ ├── Event.ts │ │ │ │ │ ├── FinetunedModel.ts │ │ │ │ │ ├── GetFinetunedModelResponse.ts │ │ │ │ │ ├── Hyperparameters.ts │ │ │ │ │ ├── ListEventsResponse.ts │ │ │ │ │ ├── ListFinetunedModelsResponse.ts │ │ │ │ │ ├── ListTrainingStepMetricsResponse.ts │ │ │ │ │ ├── LoraTargetModules.ts │ │ │ │ │ ├── Settings.ts │ │ │ │ │ ├── Status.ts │ │ │ │ │ ├── Strategy.ts │ │ │ │ │ ├── TrainingStepMetrics.ts │ │ │ │ │ ├── UpdateFinetunedModelResponse.ts │ │ │ │ │ ├── WandbConfig.ts │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ ├── index.ts │ │ └── v2 │ │ │ ├── client │ │ │ ├── index.ts │ │ │ └── requests │ │ │ │ ├── V2ChatRequest.ts │ │ │ │ ├── V2ChatStreamRequest.ts │ │ │ │ ├── V2EmbedRequest.ts │ │ │ │ ├── V2RerankRequest.ts │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ ├── V2ChatRequestDocumentsItem.ts │ │ │ ├── V2ChatRequestSafetyMode.ts │ │ │ ├── V2ChatRequestToolChoice.ts │ │ │ ├── V2ChatResponse.ts │ │ │ ├── V2ChatStreamRequestDocumentsItem.ts │ │ │ ├── V2ChatStreamRequestSafetyMode.ts │ │ │ ├── V2ChatStreamRequestToolChoice.ts │ │ │ ├── V2ChatStreamResponse.ts │ │ │ ├── V2EmbedRequestTruncate.ts │ │ │ ├── V2RerankResponse.ts │ │ │ ├── V2RerankResponseResultsItem.ts │ │ │ └── index.ts │ └── types │ │ ├── ApiMeta.ts │ │ ├── ApiMetaApiVersion.ts │ │ ├── ApiMetaBilledUnits.ts │ │ ├── ApiMetaTokens.ts │ │ ├── AssistantMessage.ts │ │ ├── AssistantMessageResponse.ts │ │ ├── AssistantMessageResponseContentItem.ts │ │ ├── AssistantMessageV2Content.ts │ │ ├── AssistantMessageV2ContentItem.ts │ │ ├── AuthTokenType.ts │ │ ├── ChatCitation.ts │ │ ├── ChatCitationGenerationEvent.ts │ │ ├── ChatCitationType.ts │ │ ├── ChatConnector.ts │ │ ├── ChatContentDeltaEvent.ts │ │ ├── ChatContentDeltaEventDelta.ts │ │ ├── ChatContentDeltaEventDeltaMessage.ts │ │ ├── ChatContentDeltaEventDeltaMessageContent.ts │ │ ├── ChatContentEndEvent.ts │ │ ├── ChatContentStartEvent.ts │ │ ├── ChatContentStartEventDelta.ts │ │ ├── ChatContentStartEventDeltaMessage.ts │ │ ├── ChatContentStartEventDeltaMessageContent.ts │ │ ├── ChatContentStartEventDeltaMessageContentType.ts │ │ ├── ChatDataMetrics.ts │ │ ├── ChatDebugEvent.ts │ │ ├── ChatDocument.ts │ │ ├── ChatDocumentSource.ts │ │ ├── ChatFinishReason.ts │ │ ├── ChatMessage.ts │ │ ├── ChatMessageEndEvent.ts │ │ ├── ChatMessageEndEventDelta.ts │ │ ├── ChatMessageStartEvent.ts │ │ ├── ChatMessageStartEventDelta.ts │ │ ├── ChatMessageStartEventDeltaMessage.ts │ │ ├── ChatMessageV2.ts │ │ ├── ChatMessages.ts │ │ ├── ChatRequestCitationQuality.ts │ │ ├── ChatRequestPromptTruncation.ts │ │ ├── ChatRequestSafetyMode.ts │ │ ├── ChatSearchQueriesGenerationEvent.ts │ │ ├── ChatSearchQuery.ts │ │ ├── ChatSearchResult.ts │ │ ├── ChatSearchResultConnector.ts │ │ ├── ChatSearchResultsEvent.ts │ │ ├── ChatStreamEndEvent.ts │ │ ├── ChatStreamEndEventFinishReason.ts │ │ ├── ChatStreamEvent.ts │ │ ├── ChatStreamEventType.ts │ │ ├── ChatStreamRequestCitationQuality.ts │ │ ├── ChatStreamRequestPromptTruncation.ts │ │ ├── ChatStreamRequestSafetyMode.ts │ │ ├── ChatStreamStartEvent.ts │ │ ├── ChatTextContent.ts │ │ ├── ChatTextGenerationEvent.ts │ │ ├── ChatTextResponseFormat.ts │ │ ├── ChatTextResponseFormatV2.ts │ │ ├── ChatThinkingContent.ts │ │ ├── ChatToolCallDeltaEvent.ts │ │ ├── ChatToolCallDeltaEventDelta.ts │ │ ├── ChatToolCallDeltaEventDeltaMessage.ts │ │ ├── ChatToolCallDeltaEventDeltaMessageToolCalls.ts │ │ ├── ChatToolCallDeltaEventDeltaMessageToolCallsFunction.ts │ │ ├── ChatToolCallEndEvent.ts │ │ ├── ChatToolCallStartEvent.ts │ │ ├── ChatToolCallStartEventDelta.ts │ │ ├── ChatToolCallStartEventDeltaMessage.ts │ │ ├── ChatToolCallsChunkEvent.ts │ │ ├── ChatToolCallsGenerationEvent.ts │ │ ├── ChatToolMessage.ts │ │ ├── ChatToolPlanDeltaEvent.ts │ │ ├── ChatToolPlanDeltaEventDelta.ts │ │ ├── ChatToolPlanDeltaEventDeltaMessage.ts │ │ ├── ChatToolSource.ts │ │ ├── CheckApiKeyResponse.ts │ │ ├── Citation.ts │ │ ├── CitationEndEvent.ts │ │ ├── CitationOptions.ts │ │ ├── CitationOptionsMode.ts │ │ ├── CitationStartEvent.ts │ │ ├── CitationStartEventDelta.ts │ │ ├── CitationStartEventDeltaMessage.ts │ │ ├── CitationType.ts │ │ ├── ClassifyDataMetrics.ts │ │ ├── ClassifyExample.ts │ │ ├── ClassifyRequestTruncate.ts │ │ ├── ClassifyResponse.ts │ │ ├── ClassifyResponseClassificationsItem.ts │ │ ├── ClassifyResponseClassificationsItemClassificationType.ts │ │ ├── ClassifyResponseClassificationsItemLabelsValue.ts │ │ ├── CompatibleEndpoint.ts │ │ ├── Connector.ts │ │ ├── ConnectorAuthStatus.ts │ │ ├── ConnectorOAuth.ts │ │ ├── Content.ts │ │ ├── CreateConnectorOAuth.ts │ │ ├── CreateConnectorResponse.ts │ │ ├── CreateConnectorServiceAuth.ts │ │ ├── CreateEmbedJobResponse.ts │ │ ├── Dataset.ts │ │ ├── DatasetPart.ts │ │ ├── DatasetType.ts │ │ ├── DatasetValidationStatus.ts │ │ ├── DeleteConnectorResponse.ts │ │ ├── DetokenizeResponse.ts │ │ ├── Document.ts │ │ ├── DocumentContent.ts │ │ ├── EmbedByTypeResponse.ts │ │ ├── EmbedByTypeResponseEmbeddings.ts │ │ ├── EmbedContent.ts │ │ ├── EmbedFloatsResponse.ts │ │ ├── EmbedImage.ts │ │ ├── EmbedImageUrl.ts │ │ ├── EmbedInput.ts │ │ ├── EmbedInputType.ts │ │ ├── EmbedJob.ts │ │ ├── EmbedJobStatus.ts │ │ ├── EmbedJobTruncate.ts │ │ ├── EmbedRequestTruncate.ts │ │ ├── EmbedResponse.ts │ │ ├── EmbedText.ts │ │ ├── EmbeddingType.ts │ │ ├── FinetuneDatasetMetrics.ts │ │ ├── FinishReason.ts │ │ ├── GenerateRequestReturnLikelihoods.ts │ │ ├── GenerateRequestTruncate.ts │ │ ├── GenerateStreamEnd.ts │ │ ├── GenerateStreamEndResponse.ts │ │ ├── GenerateStreamError.ts │ │ ├── GenerateStreamEvent.ts │ │ ├── GenerateStreamRequestReturnLikelihoods.ts │ │ ├── GenerateStreamRequestTruncate.ts │ │ ├── GenerateStreamText.ts │ │ ├── GenerateStreamedResponse.ts │ │ ├── Generation.ts │ │ ├── GetConnectorResponse.ts │ │ ├── GetModelResponse.ts │ │ ├── Image.ts │ │ ├── ImageContent.ts │ │ ├── ImageUrl.ts │ │ ├── ImageUrlDetail.ts │ │ ├── JsonResponseFormat.ts │ │ ├── JsonResponseFormatV2.ts │ │ ├── LabelMetric.ts │ │ ├── ListConnectorsResponse.ts │ │ ├── ListEmbedJobResponse.ts │ │ ├── ListModelsResponse.ts │ │ ├── LogprobItem.ts │ │ ├── Message.ts │ │ ├── Metrics.ts │ │ ├── NonStreamedChatResponse.ts │ │ ├── OAuthAuthorizeResponse.ts │ │ ├── ParseInfo.ts │ │ ├── RerankDocument.ts │ │ ├── RerankRequestDocumentsItem.ts │ │ ├── RerankResponse.ts │ │ ├── RerankResponseResultsItem.ts │ │ ├── RerankResponseResultsItemDocument.ts │ │ ├── RerankerDataMetrics.ts │ │ ├── ResponseFormat.ts │ │ ├── ResponseFormatV2.ts │ │ ├── SingleGeneration.ts │ │ ├── SingleGenerationInStream.ts │ │ ├── SingleGenerationTokenLikelihoodsItem.ts │ │ ├── Source.ts │ │ ├── StreamedChatResponse.ts │ │ ├── SummarizeRequestExtractiveness.ts │ │ ├── SummarizeRequestFormat.ts │ │ ├── SummarizeRequestLength.ts │ │ ├── SummarizeResponse.ts │ │ ├── SystemMessageV2.ts │ │ ├── SystemMessageV2Content.ts │ │ ├── SystemMessageV2ContentItem.ts │ │ ├── Thinking.ts │ │ ├── ThinkingType.ts │ │ ├── TokenizeResponse.ts │ │ ├── Tool.ts │ │ ├── ToolCall.ts │ │ ├── ToolCallDelta.ts │ │ ├── ToolCallV2.ts │ │ ├── ToolCallV2Function.ts │ │ ├── ToolContent.ts │ │ ├── ToolMessageV2.ts │ │ ├── ToolMessageV2Content.ts │ │ ├── ToolParameterDefinitionsValue.ts │ │ ├── ToolResult.ts │ │ ├── ToolV2.ts │ │ ├── ToolV2Function.ts │ │ ├── UpdateConnectorResponse.ts │ │ ├── Usage.ts │ │ ├── UsageBilledUnits.ts │ │ ├── UsageTokens.ts │ │ ├── UserMessageV2.ts │ │ ├── UserMessageV2Content.ts │ │ └── index.ts ├── test │ ├── __snapshots__ │ │ ├── aws-util-tests.test.ts.snap │ │ └── client.test.ts.snap │ ├── aws-util-tests.test.ts │ ├── bedrock-tests.test.ts │ ├── client.test.ts │ ├── env.test.ts │ ├── tests.test.ts │ └── testsV2.test.ts └── version.ts ├── tests ├── custom.test.ts ├── mock-server │ ├── MockServer.ts │ ├── MockServerPool.ts │ ├── mockEndpointBuilder.ts │ ├── randomBaseUrl.ts │ ├── setup.ts │ ├── withFormUrlEncoded.ts │ ├── withHeaders.ts │ └── withJson.ts ├── tsconfig.json ├── unit │ ├── auth │ │ ├── BasicAuth.test.ts │ │ └── BearerToken.test.ts │ ├── base64.test.ts │ ├── fetcher │ │ ├── Fetcher.test.ts │ │ ├── HttpResponsePromise.test.ts │ │ ├── RawResponse.test.ts │ │ ├── createRequestUrl.test.ts │ │ ├── getRequestBody.test.ts │ │ ├── getResponseBody.test.ts │ │ ├── logging.test.ts │ │ ├── makeRequest.test.ts │ │ ├── redacting.test.ts │ │ ├── requestWithRetries.test.ts │ │ ├── signals.test.ts │ │ └── test-file.txt │ ├── file │ │ └── file.test.ts │ ├── form-data-utils │ │ ├── encodeAsFormParameter.test.ts │ │ └── formDataWrapper.test.ts │ ├── logging │ │ └── logger.test.ts │ ├── schemas │ │ ├── bigint │ │ │ └── bigint.test.ts │ │ ├── date │ │ │ └── date.test.ts │ │ ├── enum │ │ │ └── enum.test.ts │ │ ├── lazy │ │ │ ├── lazy.test.ts │ │ │ ├── lazyObject.test.ts │ │ │ └── recursive │ │ │ │ ├── a.ts │ │ │ │ └── b.ts │ │ ├── list │ │ │ └── list.test.ts │ │ ├── literals │ │ │ └── stringLiteral.test.ts │ │ ├── object-like │ │ │ └── withParsedProperties.test.ts │ │ ├── object │ │ │ ├── extend.test.ts │ │ │ ├── object.test.ts │ │ │ ├── objectWithoutOptionalProperties.test.ts │ │ │ └── passthrough.test.ts │ │ ├── primitives │ │ │ ├── any.test.ts │ │ │ ├── boolean.test.ts │ │ │ ├── never.test.ts │ │ │ ├── number.test.ts │ │ │ ├── string.test.ts │ │ │ └── unknown.test.ts │ │ ├── record │ │ │ └── record.test.ts │ │ ├── schema-utils │ │ │ └── getSchemaUtils.test.ts │ │ ├── schema.test.ts │ │ ├── set │ │ │ └── set.test.ts │ │ ├── skipValidation.test.ts │ │ ├── undiscriminated-union │ │ │ └── undiscriminatedUnion.test.ts │ │ ├── union │ │ │ └── union.test.ts │ │ └── utils │ │ │ ├── itSchema.ts │ │ │ └── itValidate.ts │ ├── stream │ │ └── Stream.test.ts │ ├── test-file.txt │ └── url │ │ ├── join.test.ts │ │ └── qs.test.ts └── wire │ ├── .gitkeep │ ├── batches.test.ts │ ├── connectors.test.ts │ ├── datasets.test.ts │ ├── embedJobs.test.ts │ ├── finetuning.test.ts │ ├── main.test.ts │ ├── models.test.ts │ └── v2.test.ts ├── tsconfig.json └── vitest.config.mts /.fern/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/.fern/metadata.json -------------------------------------------------------------------------------- /.fernignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/.fernignore -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | /dist -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/.npmignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/README.md -------------------------------------------------------------------------------- /banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/banner.png -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/biome.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: ['.'] -------------------------------------------------------------------------------- /reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/reference.md -------------------------------------------------------------------------------- /scripts/rename-to-esm-files.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/scripts/rename-to-esm-files.js -------------------------------------------------------------------------------- /src/AwsClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/AwsClient.ts -------------------------------------------------------------------------------- /src/BaseClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/BaseClient.ts -------------------------------------------------------------------------------- /src/BedrockClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/BedrockClient.ts -------------------------------------------------------------------------------- /src/Client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/Client.ts -------------------------------------------------------------------------------- /src/ClientV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/ClientV2.ts -------------------------------------------------------------------------------- /src/CustomClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/CustomClient.ts -------------------------------------------------------------------------------- /src/SagemakerClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/SagemakerClient.ts -------------------------------------------------------------------------------- /src/api/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/client/requests/ChatRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/client/requests/ChatRequest.ts -------------------------------------------------------------------------------- /src/api/client/requests/ChatStreamRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/client/requests/ChatStreamRequest.ts -------------------------------------------------------------------------------- /src/api/client/requests/ClassifyRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/client/requests/ClassifyRequest.ts -------------------------------------------------------------------------------- /src/api/client/requests/DetokenizeRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/client/requests/DetokenizeRequest.ts -------------------------------------------------------------------------------- /src/api/client/requests/EmbedRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/client/requests/EmbedRequest.ts -------------------------------------------------------------------------------- /src/api/client/requests/GenerateRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/client/requests/GenerateRequest.ts -------------------------------------------------------------------------------- /src/api/client/requests/GenerateStreamRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/client/requests/GenerateStreamRequest.ts -------------------------------------------------------------------------------- /src/api/client/requests/RerankRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/client/requests/RerankRequest.ts -------------------------------------------------------------------------------- /src/api/client/requests/SummarizeRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/client/requests/SummarizeRequest.ts -------------------------------------------------------------------------------- /src/api/client/requests/TokenizeRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/client/requests/TokenizeRequest.ts -------------------------------------------------------------------------------- /src/api/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/client/requests/index.ts -------------------------------------------------------------------------------- /src/api/errors/BadRequestError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/BadRequestError.ts -------------------------------------------------------------------------------- /src/api/errors/ClientClosedRequestError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/ClientClosedRequestError.ts -------------------------------------------------------------------------------- /src/api/errors/ForbiddenError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/ForbiddenError.ts -------------------------------------------------------------------------------- /src/api/errors/GatewayTimeoutError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/GatewayTimeoutError.ts -------------------------------------------------------------------------------- /src/api/errors/InternalServerError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/InternalServerError.ts -------------------------------------------------------------------------------- /src/api/errors/InvalidTokenError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/InvalidTokenError.ts -------------------------------------------------------------------------------- /src/api/errors/NotFoundError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/NotFoundError.ts -------------------------------------------------------------------------------- /src/api/errors/NotImplementedError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/NotImplementedError.ts -------------------------------------------------------------------------------- /src/api/errors/ServiceUnavailableError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/ServiceUnavailableError.ts -------------------------------------------------------------------------------- /src/api/errors/TooManyRequestsError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/TooManyRequestsError.ts -------------------------------------------------------------------------------- /src/api/errors/UnauthorizedError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/UnauthorizedError.ts -------------------------------------------------------------------------------- /src/api/errors/UnprocessableEntityError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/UnprocessableEntityError.ts -------------------------------------------------------------------------------- /src/api/errors/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/errors/index.ts -------------------------------------------------------------------------------- /src/api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/index.ts -------------------------------------------------------------------------------- /src/api/resources/batches/client/Client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/batches/client/Client.ts -------------------------------------------------------------------------------- /src/api/resources/batches/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/batches/client/requests/BatchesListBatchesRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/batches/client/requests/BatchesListBatchesRequest.ts -------------------------------------------------------------------------------- /src/api/resources/batches/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/batches/client/requests/index.ts -------------------------------------------------------------------------------- /src/api/resources/batches/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/batches/index.ts -------------------------------------------------------------------------------- /src/api/resources/batches/types/Batch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/batches/types/Batch.ts -------------------------------------------------------------------------------- /src/api/resources/batches/types/BatchStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/batches/types/BatchStatus.ts -------------------------------------------------------------------------------- /src/api/resources/batches/types/CancelBatchResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/batches/types/CancelBatchResponse.ts -------------------------------------------------------------------------------- /src/api/resources/batches/types/CreateBatchResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/batches/types/CreateBatchResponse.ts -------------------------------------------------------------------------------- /src/api/resources/batches/types/GetBatchResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/batches/types/GetBatchResponse.ts -------------------------------------------------------------------------------- /src/api/resources/batches/types/ListBatchesResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/batches/types/ListBatchesResponse.ts -------------------------------------------------------------------------------- /src/api/resources/batches/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/batches/types/index.ts -------------------------------------------------------------------------------- /src/api/resources/connectors/client/Client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/connectors/client/Client.ts -------------------------------------------------------------------------------- /src/api/resources/connectors/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/connectors/client/requests/ConnectorsListRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/connectors/client/requests/ConnectorsListRequest.ts -------------------------------------------------------------------------------- /src/api/resources/connectors/client/requests/ConnectorsOAuthAuthorizeRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/connectors/client/requests/ConnectorsOAuthAuthorizeRequest.ts -------------------------------------------------------------------------------- /src/api/resources/connectors/client/requests/CreateConnectorRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/connectors/client/requests/CreateConnectorRequest.ts -------------------------------------------------------------------------------- /src/api/resources/connectors/client/requests/UpdateConnectorRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/connectors/client/requests/UpdateConnectorRequest.ts -------------------------------------------------------------------------------- /src/api/resources/connectors/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/connectors/client/requests/index.ts -------------------------------------------------------------------------------- /src/api/resources/connectors/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./client"; 2 | -------------------------------------------------------------------------------- /src/api/resources/datasets/client/Client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/datasets/client/Client.ts -------------------------------------------------------------------------------- /src/api/resources/datasets/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/datasets/client/requests/DatasetsCreateRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/datasets/client/requests/DatasetsCreateRequest.ts -------------------------------------------------------------------------------- /src/api/resources/datasets/client/requests/DatasetsListRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/datasets/client/requests/DatasetsListRequest.ts -------------------------------------------------------------------------------- /src/api/resources/datasets/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/datasets/client/requests/index.ts -------------------------------------------------------------------------------- /src/api/resources/datasets/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/datasets/index.ts -------------------------------------------------------------------------------- /src/api/resources/datasets/types/DatasetsCreateResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/datasets/types/DatasetsCreateResponse.ts -------------------------------------------------------------------------------- /src/api/resources/datasets/types/DatasetsGetResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/datasets/types/DatasetsGetResponse.ts -------------------------------------------------------------------------------- /src/api/resources/datasets/types/DatasetsGetUsageResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/datasets/types/DatasetsGetUsageResponse.ts -------------------------------------------------------------------------------- /src/api/resources/datasets/types/DatasetsListResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/datasets/types/DatasetsListResponse.ts -------------------------------------------------------------------------------- /src/api/resources/datasets/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/datasets/types/index.ts -------------------------------------------------------------------------------- /src/api/resources/embedJobs/client/Client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/embedJobs/client/Client.ts -------------------------------------------------------------------------------- /src/api/resources/embedJobs/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/embedJobs/client/requests/CreateEmbedJobRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/embedJobs/client/requests/CreateEmbedJobRequest.ts -------------------------------------------------------------------------------- /src/api/resources/embedJobs/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/embedJobs/client/requests/index.ts -------------------------------------------------------------------------------- /src/api/resources/embedJobs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/embedJobs/index.ts -------------------------------------------------------------------------------- /src/api/resources/embedJobs/types/CreateEmbedJobRequestTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/embedJobs/types/CreateEmbedJobRequestTruncate.ts -------------------------------------------------------------------------------- /src/api/resources/embedJobs/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./CreateEmbedJobRequestTruncate"; 2 | -------------------------------------------------------------------------------- /src/api/resources/finetuning/client/Client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/client/Client.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/finetuning/client/requests/FinetuningListEventsRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/client/requests/FinetuningListEventsRequest.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/client/requests/index.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/index.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/BaseModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/BaseModel.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/BaseType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/BaseType.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/Event.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/Event.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/FinetunedModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/FinetunedModel.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/Hyperparameters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/Hyperparameters.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/ListEventsResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/ListEventsResponse.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/LoraTargetModules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/LoraTargetModules.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/Settings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/Settings.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/Status.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/Status.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/Strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/Strategy.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/TrainingStepMetrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/TrainingStepMetrics.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/WandbConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/WandbConfig.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/finetuning/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/finetuning/types/index.ts -------------------------------------------------------------------------------- /src/api/resources/finetuning/resources/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/finetuning/resources/index.ts -------------------------------------------------------------------------------- /src/api/resources/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/index.ts -------------------------------------------------------------------------------- /src/api/resources/models/client/Client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/models/client/Client.ts -------------------------------------------------------------------------------- /src/api/resources/models/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/models/client/requests/ModelsListRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/models/client/requests/ModelsListRequest.ts -------------------------------------------------------------------------------- /src/api/resources/models/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/models/client/requests/index.ts -------------------------------------------------------------------------------- /src/api/resources/models/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./client"; 2 | -------------------------------------------------------------------------------- /src/api/resources/v2/client/Client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/client/Client.ts -------------------------------------------------------------------------------- /src/api/resources/v2/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/v2/client/requests/V2ChatRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/client/requests/V2ChatRequest.ts -------------------------------------------------------------------------------- /src/api/resources/v2/client/requests/V2ChatStreamRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/client/requests/V2ChatStreamRequest.ts -------------------------------------------------------------------------------- /src/api/resources/v2/client/requests/V2EmbedRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/client/requests/V2EmbedRequest.ts -------------------------------------------------------------------------------- /src/api/resources/v2/client/requests/V2RerankRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/client/requests/V2RerankRequest.ts -------------------------------------------------------------------------------- /src/api/resources/v2/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/client/requests/index.ts -------------------------------------------------------------------------------- /src/api/resources/v2/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/index.ts -------------------------------------------------------------------------------- /src/api/resources/v2/types/V2ChatRequestDocumentsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/types/V2ChatRequestDocumentsItem.ts -------------------------------------------------------------------------------- /src/api/resources/v2/types/V2ChatRequestSafetyMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/types/V2ChatRequestSafetyMode.ts -------------------------------------------------------------------------------- /src/api/resources/v2/types/V2ChatRequestToolChoice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/types/V2ChatRequestToolChoice.ts -------------------------------------------------------------------------------- /src/api/resources/v2/types/V2ChatResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/types/V2ChatResponse.ts -------------------------------------------------------------------------------- /src/api/resources/v2/types/V2ChatStreamRequestDocumentsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/types/V2ChatStreamRequestDocumentsItem.ts -------------------------------------------------------------------------------- /src/api/resources/v2/types/V2ChatStreamRequestSafetyMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/types/V2ChatStreamRequestSafetyMode.ts -------------------------------------------------------------------------------- /src/api/resources/v2/types/V2ChatStreamRequestToolChoice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/types/V2ChatStreamRequestToolChoice.ts -------------------------------------------------------------------------------- /src/api/resources/v2/types/V2ChatStreamResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/types/V2ChatStreamResponse.ts -------------------------------------------------------------------------------- /src/api/resources/v2/types/V2EmbedRequestTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/types/V2EmbedRequestTruncate.ts -------------------------------------------------------------------------------- /src/api/resources/v2/types/V2RerankResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/types/V2RerankResponse.ts -------------------------------------------------------------------------------- /src/api/resources/v2/types/V2RerankResponseResultsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/types/V2RerankResponseResultsItem.ts -------------------------------------------------------------------------------- /src/api/resources/v2/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/resources/v2/types/index.ts -------------------------------------------------------------------------------- /src/api/types/ApiMeta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ApiMeta.ts -------------------------------------------------------------------------------- /src/api/types/ApiMetaApiVersion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ApiMetaApiVersion.ts -------------------------------------------------------------------------------- /src/api/types/ApiMetaBilledUnits.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ApiMetaBilledUnits.ts -------------------------------------------------------------------------------- /src/api/types/ApiMetaTokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ApiMetaTokens.ts -------------------------------------------------------------------------------- /src/api/types/AssistantMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/AssistantMessage.ts -------------------------------------------------------------------------------- /src/api/types/AssistantMessageResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/AssistantMessageResponse.ts -------------------------------------------------------------------------------- /src/api/types/AssistantMessageResponseContentItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/AssistantMessageResponseContentItem.ts -------------------------------------------------------------------------------- /src/api/types/AssistantMessageV2Content.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/AssistantMessageV2Content.ts -------------------------------------------------------------------------------- /src/api/types/AssistantMessageV2ContentItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/AssistantMessageV2ContentItem.ts -------------------------------------------------------------------------------- /src/api/types/AuthTokenType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/AuthTokenType.ts -------------------------------------------------------------------------------- /src/api/types/ChatCitation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatCitation.ts -------------------------------------------------------------------------------- /src/api/types/ChatCitationGenerationEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatCitationGenerationEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatCitationType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatCitationType.ts -------------------------------------------------------------------------------- /src/api/types/ChatConnector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatConnector.ts -------------------------------------------------------------------------------- /src/api/types/ChatContentDeltaEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatContentDeltaEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatContentDeltaEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatContentDeltaEventDelta.ts -------------------------------------------------------------------------------- /src/api/types/ChatContentDeltaEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatContentDeltaEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/api/types/ChatContentDeltaEventDeltaMessageContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatContentDeltaEventDeltaMessageContent.ts -------------------------------------------------------------------------------- /src/api/types/ChatContentEndEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatContentEndEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatContentStartEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatContentStartEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatContentStartEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatContentStartEventDelta.ts -------------------------------------------------------------------------------- /src/api/types/ChatContentStartEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatContentStartEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/api/types/ChatContentStartEventDeltaMessageContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatContentStartEventDeltaMessageContent.ts -------------------------------------------------------------------------------- /src/api/types/ChatContentStartEventDeltaMessageContentType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatContentStartEventDeltaMessageContentType.ts -------------------------------------------------------------------------------- /src/api/types/ChatDataMetrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatDataMetrics.ts -------------------------------------------------------------------------------- /src/api/types/ChatDebugEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatDebugEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatDocument.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatDocument.ts -------------------------------------------------------------------------------- /src/api/types/ChatDocumentSource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatDocumentSource.ts -------------------------------------------------------------------------------- /src/api/types/ChatFinishReason.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatFinishReason.ts -------------------------------------------------------------------------------- /src/api/types/ChatMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatMessage.ts -------------------------------------------------------------------------------- /src/api/types/ChatMessageEndEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatMessageEndEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatMessageEndEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatMessageEndEventDelta.ts -------------------------------------------------------------------------------- /src/api/types/ChatMessageStartEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatMessageStartEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatMessageStartEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatMessageStartEventDelta.ts -------------------------------------------------------------------------------- /src/api/types/ChatMessageStartEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatMessageStartEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/api/types/ChatMessageV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatMessageV2.ts -------------------------------------------------------------------------------- /src/api/types/ChatMessages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatMessages.ts -------------------------------------------------------------------------------- /src/api/types/ChatRequestCitationQuality.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatRequestCitationQuality.ts -------------------------------------------------------------------------------- /src/api/types/ChatRequestPromptTruncation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatRequestPromptTruncation.ts -------------------------------------------------------------------------------- /src/api/types/ChatRequestSafetyMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatRequestSafetyMode.ts -------------------------------------------------------------------------------- /src/api/types/ChatSearchQueriesGenerationEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatSearchQueriesGenerationEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatSearchQuery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatSearchQuery.ts -------------------------------------------------------------------------------- /src/api/types/ChatSearchResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatSearchResult.ts -------------------------------------------------------------------------------- /src/api/types/ChatSearchResultConnector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatSearchResultConnector.ts -------------------------------------------------------------------------------- /src/api/types/ChatSearchResultsEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatSearchResultsEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatStreamEndEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatStreamEndEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatStreamEndEventFinishReason.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatStreamEndEventFinishReason.ts -------------------------------------------------------------------------------- /src/api/types/ChatStreamEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatStreamEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatStreamEventType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatStreamEventType.ts -------------------------------------------------------------------------------- /src/api/types/ChatStreamRequestCitationQuality.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatStreamRequestCitationQuality.ts -------------------------------------------------------------------------------- /src/api/types/ChatStreamRequestPromptTruncation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatStreamRequestPromptTruncation.ts -------------------------------------------------------------------------------- /src/api/types/ChatStreamRequestSafetyMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatStreamRequestSafetyMode.ts -------------------------------------------------------------------------------- /src/api/types/ChatStreamStartEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatStreamStartEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatTextContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatTextContent.ts -------------------------------------------------------------------------------- /src/api/types/ChatTextGenerationEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatTextGenerationEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatTextResponseFormat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatTextResponseFormat.ts -------------------------------------------------------------------------------- /src/api/types/ChatTextResponseFormatV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatTextResponseFormatV2.ts -------------------------------------------------------------------------------- /src/api/types/ChatThinkingContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatThinkingContent.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolCallDeltaEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolCallDeltaEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolCallDeltaEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolCallDeltaEventDelta.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolCallDeltaEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolCallDeltaEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolCallDeltaEventDeltaMessageToolCalls.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolCallDeltaEventDeltaMessageToolCalls.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolCallDeltaEventDeltaMessageToolCallsFunction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolCallDeltaEventDeltaMessageToolCallsFunction.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolCallEndEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolCallEndEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolCallStartEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolCallStartEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolCallStartEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolCallStartEventDelta.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolCallStartEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolCallStartEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolCallsChunkEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolCallsChunkEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolCallsGenerationEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolCallsGenerationEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolMessage.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolPlanDeltaEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolPlanDeltaEvent.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolPlanDeltaEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolPlanDeltaEventDelta.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolPlanDeltaEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolPlanDeltaEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/api/types/ChatToolSource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ChatToolSource.ts -------------------------------------------------------------------------------- /src/api/types/CheckApiKeyResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CheckApiKeyResponse.ts -------------------------------------------------------------------------------- /src/api/types/Citation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Citation.ts -------------------------------------------------------------------------------- /src/api/types/CitationEndEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CitationEndEvent.ts -------------------------------------------------------------------------------- /src/api/types/CitationOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CitationOptions.ts -------------------------------------------------------------------------------- /src/api/types/CitationOptionsMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CitationOptionsMode.ts -------------------------------------------------------------------------------- /src/api/types/CitationStartEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CitationStartEvent.ts -------------------------------------------------------------------------------- /src/api/types/CitationStartEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CitationStartEventDelta.ts -------------------------------------------------------------------------------- /src/api/types/CitationStartEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CitationStartEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/api/types/CitationType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CitationType.ts -------------------------------------------------------------------------------- /src/api/types/ClassifyDataMetrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ClassifyDataMetrics.ts -------------------------------------------------------------------------------- /src/api/types/ClassifyExample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ClassifyExample.ts -------------------------------------------------------------------------------- /src/api/types/ClassifyRequestTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ClassifyRequestTruncate.ts -------------------------------------------------------------------------------- /src/api/types/ClassifyResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ClassifyResponse.ts -------------------------------------------------------------------------------- /src/api/types/ClassifyResponseClassificationsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ClassifyResponseClassificationsItem.ts -------------------------------------------------------------------------------- /src/api/types/ClassifyResponseClassificationsItemClassificationType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ClassifyResponseClassificationsItemClassificationType.ts -------------------------------------------------------------------------------- /src/api/types/ClassifyResponseClassificationsItemLabelsValue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ClassifyResponseClassificationsItemLabelsValue.ts -------------------------------------------------------------------------------- /src/api/types/CompatibleEndpoint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CompatibleEndpoint.ts -------------------------------------------------------------------------------- /src/api/types/Connector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Connector.ts -------------------------------------------------------------------------------- /src/api/types/ConnectorAuthStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ConnectorAuthStatus.ts -------------------------------------------------------------------------------- /src/api/types/ConnectorOAuth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ConnectorOAuth.ts -------------------------------------------------------------------------------- /src/api/types/Content.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Content.ts -------------------------------------------------------------------------------- /src/api/types/CreateConnectorOAuth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CreateConnectorOAuth.ts -------------------------------------------------------------------------------- /src/api/types/CreateConnectorResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CreateConnectorResponse.ts -------------------------------------------------------------------------------- /src/api/types/CreateConnectorServiceAuth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CreateConnectorServiceAuth.ts -------------------------------------------------------------------------------- /src/api/types/CreateEmbedJobResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/CreateEmbedJobResponse.ts -------------------------------------------------------------------------------- /src/api/types/Dataset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Dataset.ts -------------------------------------------------------------------------------- /src/api/types/DatasetPart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/DatasetPart.ts -------------------------------------------------------------------------------- /src/api/types/DatasetType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/DatasetType.ts -------------------------------------------------------------------------------- /src/api/types/DatasetValidationStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/DatasetValidationStatus.ts -------------------------------------------------------------------------------- /src/api/types/DeleteConnectorResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/DeleteConnectorResponse.ts -------------------------------------------------------------------------------- /src/api/types/DetokenizeResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/DetokenizeResponse.ts -------------------------------------------------------------------------------- /src/api/types/Document.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Document.ts -------------------------------------------------------------------------------- /src/api/types/DocumentContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/DocumentContent.ts -------------------------------------------------------------------------------- /src/api/types/EmbedByTypeResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedByTypeResponse.ts -------------------------------------------------------------------------------- /src/api/types/EmbedByTypeResponseEmbeddings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedByTypeResponseEmbeddings.ts -------------------------------------------------------------------------------- /src/api/types/EmbedContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedContent.ts -------------------------------------------------------------------------------- /src/api/types/EmbedFloatsResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedFloatsResponse.ts -------------------------------------------------------------------------------- /src/api/types/EmbedImage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedImage.ts -------------------------------------------------------------------------------- /src/api/types/EmbedImageUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedImageUrl.ts -------------------------------------------------------------------------------- /src/api/types/EmbedInput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedInput.ts -------------------------------------------------------------------------------- /src/api/types/EmbedInputType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedInputType.ts -------------------------------------------------------------------------------- /src/api/types/EmbedJob.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedJob.ts -------------------------------------------------------------------------------- /src/api/types/EmbedJobStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedJobStatus.ts -------------------------------------------------------------------------------- /src/api/types/EmbedJobTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedJobTruncate.ts -------------------------------------------------------------------------------- /src/api/types/EmbedRequestTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedRequestTruncate.ts -------------------------------------------------------------------------------- /src/api/types/EmbedResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedResponse.ts -------------------------------------------------------------------------------- /src/api/types/EmbedText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbedText.ts -------------------------------------------------------------------------------- /src/api/types/EmbeddingType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/EmbeddingType.ts -------------------------------------------------------------------------------- /src/api/types/FinetuneDatasetMetrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/FinetuneDatasetMetrics.ts -------------------------------------------------------------------------------- /src/api/types/FinishReason.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/FinishReason.ts -------------------------------------------------------------------------------- /src/api/types/GenerateRequestReturnLikelihoods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/GenerateRequestReturnLikelihoods.ts -------------------------------------------------------------------------------- /src/api/types/GenerateRequestTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/GenerateRequestTruncate.ts -------------------------------------------------------------------------------- /src/api/types/GenerateStreamEnd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/GenerateStreamEnd.ts -------------------------------------------------------------------------------- /src/api/types/GenerateStreamEndResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/GenerateStreamEndResponse.ts -------------------------------------------------------------------------------- /src/api/types/GenerateStreamError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/GenerateStreamError.ts -------------------------------------------------------------------------------- /src/api/types/GenerateStreamEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/GenerateStreamEvent.ts -------------------------------------------------------------------------------- /src/api/types/GenerateStreamRequestReturnLikelihoods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/GenerateStreamRequestReturnLikelihoods.ts -------------------------------------------------------------------------------- /src/api/types/GenerateStreamRequestTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/GenerateStreamRequestTruncate.ts -------------------------------------------------------------------------------- /src/api/types/GenerateStreamText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/GenerateStreamText.ts -------------------------------------------------------------------------------- /src/api/types/GenerateStreamedResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/GenerateStreamedResponse.ts -------------------------------------------------------------------------------- /src/api/types/Generation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Generation.ts -------------------------------------------------------------------------------- /src/api/types/GetConnectorResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/GetConnectorResponse.ts -------------------------------------------------------------------------------- /src/api/types/GetModelResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/GetModelResponse.ts -------------------------------------------------------------------------------- /src/api/types/Image.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Image.ts -------------------------------------------------------------------------------- /src/api/types/ImageContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ImageContent.ts -------------------------------------------------------------------------------- /src/api/types/ImageUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ImageUrl.ts -------------------------------------------------------------------------------- /src/api/types/ImageUrlDetail.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ImageUrlDetail.ts -------------------------------------------------------------------------------- /src/api/types/JsonResponseFormat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/JsonResponseFormat.ts -------------------------------------------------------------------------------- /src/api/types/JsonResponseFormatV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/JsonResponseFormatV2.ts -------------------------------------------------------------------------------- /src/api/types/LabelMetric.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/LabelMetric.ts -------------------------------------------------------------------------------- /src/api/types/ListConnectorsResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ListConnectorsResponse.ts -------------------------------------------------------------------------------- /src/api/types/ListEmbedJobResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ListEmbedJobResponse.ts -------------------------------------------------------------------------------- /src/api/types/ListModelsResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ListModelsResponse.ts -------------------------------------------------------------------------------- /src/api/types/LogprobItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/LogprobItem.ts -------------------------------------------------------------------------------- /src/api/types/Message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Message.ts -------------------------------------------------------------------------------- /src/api/types/Metrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Metrics.ts -------------------------------------------------------------------------------- /src/api/types/NonStreamedChatResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/NonStreamedChatResponse.ts -------------------------------------------------------------------------------- /src/api/types/OAuthAuthorizeResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/OAuthAuthorizeResponse.ts -------------------------------------------------------------------------------- /src/api/types/ParseInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ParseInfo.ts -------------------------------------------------------------------------------- /src/api/types/RerankDocument.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/RerankDocument.ts -------------------------------------------------------------------------------- /src/api/types/RerankRequestDocumentsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/RerankRequestDocumentsItem.ts -------------------------------------------------------------------------------- /src/api/types/RerankResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/RerankResponse.ts -------------------------------------------------------------------------------- /src/api/types/RerankResponseResultsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/RerankResponseResultsItem.ts -------------------------------------------------------------------------------- /src/api/types/RerankResponseResultsItemDocument.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/RerankResponseResultsItemDocument.ts -------------------------------------------------------------------------------- /src/api/types/RerankerDataMetrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/RerankerDataMetrics.ts -------------------------------------------------------------------------------- /src/api/types/ResponseFormat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ResponseFormat.ts -------------------------------------------------------------------------------- /src/api/types/ResponseFormatV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ResponseFormatV2.ts -------------------------------------------------------------------------------- /src/api/types/SingleGeneration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/SingleGeneration.ts -------------------------------------------------------------------------------- /src/api/types/SingleGenerationInStream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/SingleGenerationInStream.ts -------------------------------------------------------------------------------- /src/api/types/SingleGenerationTokenLikelihoodsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/SingleGenerationTokenLikelihoodsItem.ts -------------------------------------------------------------------------------- /src/api/types/Source.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Source.ts -------------------------------------------------------------------------------- /src/api/types/StreamedChatResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/StreamedChatResponse.ts -------------------------------------------------------------------------------- /src/api/types/SummarizeRequestExtractiveness.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/SummarizeRequestExtractiveness.ts -------------------------------------------------------------------------------- /src/api/types/SummarizeRequestFormat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/SummarizeRequestFormat.ts -------------------------------------------------------------------------------- /src/api/types/SummarizeRequestLength.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/SummarizeRequestLength.ts -------------------------------------------------------------------------------- /src/api/types/SummarizeResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/SummarizeResponse.ts -------------------------------------------------------------------------------- /src/api/types/SystemMessageV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/SystemMessageV2.ts -------------------------------------------------------------------------------- /src/api/types/SystemMessageV2Content.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/SystemMessageV2Content.ts -------------------------------------------------------------------------------- /src/api/types/SystemMessageV2ContentItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/SystemMessageV2ContentItem.ts -------------------------------------------------------------------------------- /src/api/types/Thinking.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Thinking.ts -------------------------------------------------------------------------------- /src/api/types/ThinkingType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ThinkingType.ts -------------------------------------------------------------------------------- /src/api/types/TokenizeResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/TokenizeResponse.ts -------------------------------------------------------------------------------- /src/api/types/Tool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Tool.ts -------------------------------------------------------------------------------- /src/api/types/ToolCall.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ToolCall.ts -------------------------------------------------------------------------------- /src/api/types/ToolCallDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ToolCallDelta.ts -------------------------------------------------------------------------------- /src/api/types/ToolCallV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ToolCallV2.ts -------------------------------------------------------------------------------- /src/api/types/ToolCallV2Function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ToolCallV2Function.ts -------------------------------------------------------------------------------- /src/api/types/ToolContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ToolContent.ts -------------------------------------------------------------------------------- /src/api/types/ToolMessageV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ToolMessageV2.ts -------------------------------------------------------------------------------- /src/api/types/ToolMessageV2Content.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ToolMessageV2Content.ts -------------------------------------------------------------------------------- /src/api/types/ToolParameterDefinitionsValue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ToolParameterDefinitionsValue.ts -------------------------------------------------------------------------------- /src/api/types/ToolResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ToolResult.ts -------------------------------------------------------------------------------- /src/api/types/ToolV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ToolV2.ts -------------------------------------------------------------------------------- /src/api/types/ToolV2Function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/ToolV2Function.ts -------------------------------------------------------------------------------- /src/api/types/UpdateConnectorResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/UpdateConnectorResponse.ts -------------------------------------------------------------------------------- /src/api/types/Usage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/Usage.ts -------------------------------------------------------------------------------- /src/api/types/UsageBilledUnits.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/UsageBilledUnits.ts -------------------------------------------------------------------------------- /src/api/types/UsageTokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/UsageTokens.ts -------------------------------------------------------------------------------- /src/api/types/UserMessageV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/UserMessageV2.ts -------------------------------------------------------------------------------- /src/api/types/UserMessageV2Content.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/UserMessageV2Content.ts -------------------------------------------------------------------------------- /src/api/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/api/types/index.ts -------------------------------------------------------------------------------- /src/aws-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/aws-utils.ts -------------------------------------------------------------------------------- /src/core/auth/AuthProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/auth/AuthProvider.ts -------------------------------------------------------------------------------- /src/core/auth/AuthRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/auth/AuthRequest.ts -------------------------------------------------------------------------------- /src/core/auth/BasicAuth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/auth/BasicAuth.ts -------------------------------------------------------------------------------- /src/core/auth/BearerToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/auth/BearerToken.ts -------------------------------------------------------------------------------- /src/core/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/auth/index.ts -------------------------------------------------------------------------------- /src/core/base64.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/base64.ts -------------------------------------------------------------------------------- /src/core/exports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/exports.ts -------------------------------------------------------------------------------- /src/core/fetcher/APIResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/APIResponse.ts -------------------------------------------------------------------------------- /src/core/fetcher/BinaryResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/BinaryResponse.ts -------------------------------------------------------------------------------- /src/core/fetcher/EndpointMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/EndpointMetadata.ts -------------------------------------------------------------------------------- /src/core/fetcher/EndpointSupplier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/EndpointSupplier.ts -------------------------------------------------------------------------------- /src/core/fetcher/Fetcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/Fetcher.ts -------------------------------------------------------------------------------- /src/core/fetcher/Headers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/Headers.ts -------------------------------------------------------------------------------- /src/core/fetcher/HttpResponsePromise.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/HttpResponsePromise.ts -------------------------------------------------------------------------------- /src/core/fetcher/RawResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/RawResponse.ts -------------------------------------------------------------------------------- /src/core/fetcher/ResponseWithBody.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/ResponseWithBody.ts -------------------------------------------------------------------------------- /src/core/fetcher/Supplier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/Supplier.ts -------------------------------------------------------------------------------- /src/core/fetcher/createRequestUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/createRequestUrl.ts -------------------------------------------------------------------------------- /src/core/fetcher/getErrorResponseBody.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/getErrorResponseBody.ts -------------------------------------------------------------------------------- /src/core/fetcher/getFetchFn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/getFetchFn.ts -------------------------------------------------------------------------------- /src/core/fetcher/getHeader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/getHeader.ts -------------------------------------------------------------------------------- /src/core/fetcher/getRequestBody.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/getRequestBody.ts -------------------------------------------------------------------------------- /src/core/fetcher/getResponseBody.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/getResponseBody.ts -------------------------------------------------------------------------------- /src/core/fetcher/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/index.ts -------------------------------------------------------------------------------- /src/core/fetcher/makeRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/makeRequest.ts -------------------------------------------------------------------------------- /src/core/fetcher/requestWithRetries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/requestWithRetries.ts -------------------------------------------------------------------------------- /src/core/fetcher/signals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/fetcher/signals.ts -------------------------------------------------------------------------------- /src/core/file/exports.ts: -------------------------------------------------------------------------------- 1 | export type { Uploadable } from "./types"; 2 | -------------------------------------------------------------------------------- /src/core/file/file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/file/file.ts -------------------------------------------------------------------------------- /src/core/file/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/file/index.ts -------------------------------------------------------------------------------- /src/core/file/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/file/types.ts -------------------------------------------------------------------------------- /src/core/form-data-utils/FormDataWrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/form-data-utils/FormDataWrapper.ts -------------------------------------------------------------------------------- /src/core/form-data-utils/encodeAsFormParameter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/form-data-utils/encodeAsFormParameter.ts -------------------------------------------------------------------------------- /src/core/form-data-utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/form-data-utils/index.ts -------------------------------------------------------------------------------- /src/core/headers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/headers.ts -------------------------------------------------------------------------------- /src/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/index.ts -------------------------------------------------------------------------------- /src/core/json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/json.ts -------------------------------------------------------------------------------- /src/core/logging/exports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/logging/exports.ts -------------------------------------------------------------------------------- /src/core/logging/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./logger"; 2 | -------------------------------------------------------------------------------- /src/core/logging/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/logging/logger.ts -------------------------------------------------------------------------------- /src/core/runtime/index.ts: -------------------------------------------------------------------------------- 1 | export { RUNTIME } from "./runtime"; 2 | -------------------------------------------------------------------------------- /src/core/runtime/runtime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/runtime/runtime.ts -------------------------------------------------------------------------------- /src/core/schemas/Schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/Schema.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/bigint/bigint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/bigint/bigint.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/bigint/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/bigint/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/date/date.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/date/date.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/date/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/date/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/enum/enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/enum/enum.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/enum/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/enum/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/lazy/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/lazy/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/lazy/lazy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/lazy/lazy.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/lazy/lazyObject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/lazy/lazyObject.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/list/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/list/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/list/list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/list/list.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/literals/booleanLiteral.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/literals/booleanLiteral.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/literals/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/literals/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/literals/stringLiteral.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/literals/stringLiteral.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/object-like/getObjectLikeUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/object-like/getObjectLikeUtils.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/object-like/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/object-like/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/object-like/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/object-like/types.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/object/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/object/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/object/object.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/object/object.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/object/objectWithoutOptionalProperties.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/object/objectWithoutOptionalProperties.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/object/property.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/object/property.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/object/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/object/types.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/primitives/any.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/primitives/any.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/primitives/boolean.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/primitives/boolean.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/primitives/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/primitives/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/primitives/never.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/primitives/never.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/primitives/number.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/primitives/number.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/primitives/string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/primitives/string.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/primitives/unknown.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/primitives/unknown.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/record/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/record/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/record/record.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/record/record.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/record/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/record/types.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/schema-utils/JsonError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/schema-utils/JsonError.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/schema-utils/ParseError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/schema-utils/ParseError.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/schema-utils/getSchemaUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/schema-utils/getSchemaUtils.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/schema-utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/schema-utils/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/schema-utils/stringifyValidationErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/schema-utils/stringifyValidationErrors.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/set/index.ts: -------------------------------------------------------------------------------- 1 | export { set } from "./set"; 2 | -------------------------------------------------------------------------------- /src/core/schemas/builders/set/set.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/set/set.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/undiscriminated-union/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/undiscriminated-union/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/undiscriminated-union/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/undiscriminated-union/types.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/union/discriminant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/union/discriminant.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/union/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/union/index.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/union/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/union/types.ts -------------------------------------------------------------------------------- /src/core/schemas/builders/union/union.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/builders/union/union.ts -------------------------------------------------------------------------------- /src/core/schemas/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/index.ts -------------------------------------------------------------------------------- /src/core/schemas/utils/MaybePromise.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/utils/MaybePromise.ts -------------------------------------------------------------------------------- /src/core/schemas/utils/addQuestionMarksToNullableProperties.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/utils/addQuestionMarksToNullableProperties.ts -------------------------------------------------------------------------------- /src/core/schemas/utils/createIdentitySchemaCreator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/utils/createIdentitySchemaCreator.ts -------------------------------------------------------------------------------- /src/core/schemas/utils/entries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/utils/entries.ts -------------------------------------------------------------------------------- /src/core/schemas/utils/filterObject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/utils/filterObject.ts -------------------------------------------------------------------------------- /src/core/schemas/utils/getErrorMessageForIncorrectType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/utils/getErrorMessageForIncorrectType.ts -------------------------------------------------------------------------------- /src/core/schemas/utils/isPlainObject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/utils/isPlainObject.ts -------------------------------------------------------------------------------- /src/core/schemas/utils/keys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/utils/keys.ts -------------------------------------------------------------------------------- /src/core/schemas/utils/maybeSkipValidation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/utils/maybeSkipValidation.ts -------------------------------------------------------------------------------- /src/core/schemas/utils/partition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/schemas/utils/partition.ts -------------------------------------------------------------------------------- /src/core/stream/Stream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/stream/Stream.ts -------------------------------------------------------------------------------- /src/core/stream/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/stream/index.ts -------------------------------------------------------------------------------- /src/core/streaming-fetcher/streaming-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/streaming-fetcher/streaming-utils.ts -------------------------------------------------------------------------------- /src/core/url/encodePathParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/url/encodePathParam.ts -------------------------------------------------------------------------------- /src/core/url/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/url/index.ts -------------------------------------------------------------------------------- /src/core/url/join.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/url/join.ts -------------------------------------------------------------------------------- /src/core/url/qs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/core/url/qs.ts -------------------------------------------------------------------------------- /src/environments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/environments.ts -------------------------------------------------------------------------------- /src/errors/CohereError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/errors/CohereError.ts -------------------------------------------------------------------------------- /src/errors/CohereTimeoutError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/errors/CohereTimeoutError.ts -------------------------------------------------------------------------------- /src/errors/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/errors/index.ts -------------------------------------------------------------------------------- /src/exports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/exports.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/serialization/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/serialization/client/requests/ChatRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/client/requests/ChatRequest.ts -------------------------------------------------------------------------------- /src/serialization/client/requests/ChatStreamRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/client/requests/ChatStreamRequest.ts -------------------------------------------------------------------------------- /src/serialization/client/requests/ClassifyRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/client/requests/ClassifyRequest.ts -------------------------------------------------------------------------------- /src/serialization/client/requests/DetokenizeRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/client/requests/DetokenizeRequest.ts -------------------------------------------------------------------------------- /src/serialization/client/requests/EmbedRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/client/requests/EmbedRequest.ts -------------------------------------------------------------------------------- /src/serialization/client/requests/GenerateRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/client/requests/GenerateRequest.ts -------------------------------------------------------------------------------- /src/serialization/client/requests/GenerateStreamRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/client/requests/GenerateStreamRequest.ts -------------------------------------------------------------------------------- /src/serialization/client/requests/RerankRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/client/requests/RerankRequest.ts -------------------------------------------------------------------------------- /src/serialization/client/requests/SummarizeRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/client/requests/SummarizeRequest.ts -------------------------------------------------------------------------------- /src/serialization/client/requests/TokenizeRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/client/requests/TokenizeRequest.ts -------------------------------------------------------------------------------- /src/serialization/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/client/requests/index.ts -------------------------------------------------------------------------------- /src/serialization/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/batches/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | -------------------------------------------------------------------------------- /src/serialization/resources/batches/types/Batch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/batches/types/Batch.ts -------------------------------------------------------------------------------- /src/serialization/resources/batches/types/BatchStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/batches/types/BatchStatus.ts -------------------------------------------------------------------------------- /src/serialization/resources/batches/types/CancelBatchResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/batches/types/CancelBatchResponse.ts -------------------------------------------------------------------------------- /src/serialization/resources/batches/types/CreateBatchResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/batches/types/CreateBatchResponse.ts -------------------------------------------------------------------------------- /src/serialization/resources/batches/types/GetBatchResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/batches/types/GetBatchResponse.ts -------------------------------------------------------------------------------- /src/serialization/resources/batches/types/ListBatchesResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/batches/types/ListBatchesResponse.ts -------------------------------------------------------------------------------- /src/serialization/resources/batches/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/batches/types/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/connectors/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/serialization/resources/connectors/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/connectors/client/requests/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/connectors/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./client"; 2 | -------------------------------------------------------------------------------- /src/serialization/resources/datasets/client/delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/datasets/client/delete.ts -------------------------------------------------------------------------------- /src/serialization/resources/datasets/client/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/datasets/client/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/datasets/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/datasets/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/datasets/types/DatasetsCreateResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/datasets/types/DatasetsCreateResponse.ts -------------------------------------------------------------------------------- /src/serialization/resources/datasets/types/DatasetsGetResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/datasets/types/DatasetsGetResponse.ts -------------------------------------------------------------------------------- /src/serialization/resources/datasets/types/DatasetsGetUsageResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/datasets/types/DatasetsGetUsageResponse.ts -------------------------------------------------------------------------------- /src/serialization/resources/datasets/types/DatasetsListResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/datasets/types/DatasetsListResponse.ts -------------------------------------------------------------------------------- /src/serialization/resources/datasets/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/datasets/types/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/embedJobs/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/serialization/resources/embedJobs/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/embedJobs/client/requests/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/embedJobs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/embedJobs/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/embedJobs/types/CreateEmbedJobRequestTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/embedJobs/types/CreateEmbedJobRequestTruncate.ts -------------------------------------------------------------------------------- /src/serialization/resources/embedJobs/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./CreateEmbedJobRequestTruncate"; 2 | -------------------------------------------------------------------------------- /src/serialization/resources/finetuning/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/serialization/resources/finetuning/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/finetuning/client/requests/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/finetuning/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/finetuning/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/finetuning/resources/finetuning/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | -------------------------------------------------------------------------------- /src/serialization/resources/finetuning/resources/finetuning/types/BaseType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/finetuning/resources/finetuning/types/BaseType.ts -------------------------------------------------------------------------------- /src/serialization/resources/finetuning/resources/finetuning/types/Event.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/finetuning/resources/finetuning/types/Event.ts -------------------------------------------------------------------------------- /src/serialization/resources/finetuning/resources/finetuning/types/Settings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/finetuning/resources/finetuning/types/Settings.ts -------------------------------------------------------------------------------- /src/serialization/resources/finetuning/resources/finetuning/types/Status.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/finetuning/resources/finetuning/types/Status.ts -------------------------------------------------------------------------------- /src/serialization/resources/finetuning/resources/finetuning/types/Strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/finetuning/resources/finetuning/types/Strategy.ts -------------------------------------------------------------------------------- /src/serialization/resources/finetuning/resources/finetuning/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/finetuning/resources/finetuning/types/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/finetuning/resources/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/finetuning/resources/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/serialization/resources/v2/client/requests/V2ChatRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/client/requests/V2ChatRequest.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/client/requests/V2ChatStreamRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/client/requests/V2ChatStreamRequest.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/client/requests/V2EmbedRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/client/requests/V2EmbedRequest.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/client/requests/V2RerankRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/client/requests/V2RerankRequest.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/client/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/client/requests/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/index.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/types/V2ChatRequestDocumentsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/types/V2ChatRequestDocumentsItem.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/types/V2ChatRequestSafetyMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/types/V2ChatRequestSafetyMode.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/types/V2ChatRequestToolChoice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/types/V2ChatRequestToolChoice.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/types/V2ChatResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/types/V2ChatResponse.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/types/V2ChatStreamRequestDocumentsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/types/V2ChatStreamRequestDocumentsItem.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/types/V2ChatStreamRequestSafetyMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/types/V2ChatStreamRequestSafetyMode.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/types/V2ChatStreamRequestToolChoice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/types/V2ChatStreamRequestToolChoice.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/types/V2ChatStreamResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/types/V2ChatStreamResponse.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/types/V2EmbedRequestTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/types/V2EmbedRequestTruncate.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/types/V2RerankResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/types/V2RerankResponse.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/types/V2RerankResponseResultsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/types/V2RerankResponseResultsItem.ts -------------------------------------------------------------------------------- /src/serialization/resources/v2/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/resources/v2/types/index.ts -------------------------------------------------------------------------------- /src/serialization/types/ApiMeta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ApiMeta.ts -------------------------------------------------------------------------------- /src/serialization/types/ApiMetaApiVersion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ApiMetaApiVersion.ts -------------------------------------------------------------------------------- /src/serialization/types/ApiMetaBilledUnits.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ApiMetaBilledUnits.ts -------------------------------------------------------------------------------- /src/serialization/types/ApiMetaTokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ApiMetaTokens.ts -------------------------------------------------------------------------------- /src/serialization/types/AssistantMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/AssistantMessage.ts -------------------------------------------------------------------------------- /src/serialization/types/AssistantMessageResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/AssistantMessageResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/AssistantMessageResponseContentItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/AssistantMessageResponseContentItem.ts -------------------------------------------------------------------------------- /src/serialization/types/AssistantMessageV2Content.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/AssistantMessageV2Content.ts -------------------------------------------------------------------------------- /src/serialization/types/AssistantMessageV2ContentItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/AssistantMessageV2ContentItem.ts -------------------------------------------------------------------------------- /src/serialization/types/AuthTokenType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/AuthTokenType.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatCitation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatCitation.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatCitationGenerationEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatCitationGenerationEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatCitationType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatCitationType.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatConnector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatConnector.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatContentDeltaEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatContentDeltaEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatContentDeltaEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatContentDeltaEventDelta.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatContentDeltaEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatContentDeltaEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatContentDeltaEventDeltaMessageContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatContentDeltaEventDeltaMessageContent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatContentEndEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatContentEndEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatContentStartEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatContentStartEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatContentStartEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatContentStartEventDelta.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatContentStartEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatContentStartEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatContentStartEventDeltaMessageContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatContentStartEventDeltaMessageContent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatContentStartEventDeltaMessageContentType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatContentStartEventDeltaMessageContentType.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatDataMetrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatDataMetrics.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatDebugEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatDebugEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatDocument.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatDocument.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatDocumentSource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatDocumentSource.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatFinishReason.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatFinishReason.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatMessage.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatMessageEndEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatMessageEndEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatMessageEndEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatMessageEndEventDelta.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatMessageStartEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatMessageStartEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatMessageStartEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatMessageStartEventDelta.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatMessageStartEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatMessageStartEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatMessageV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatMessageV2.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatMessages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatMessages.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatRequestCitationQuality.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatRequestCitationQuality.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatRequestPromptTruncation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatRequestPromptTruncation.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatRequestSafetyMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatRequestSafetyMode.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatSearchQueriesGenerationEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatSearchQueriesGenerationEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatSearchQuery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatSearchQuery.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatSearchResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatSearchResult.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatSearchResultConnector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatSearchResultConnector.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatSearchResultsEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatSearchResultsEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatStreamEndEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatStreamEndEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatStreamEndEventFinishReason.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatStreamEndEventFinishReason.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatStreamEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatStreamEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatStreamEventType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatStreamEventType.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatStreamRequestCitationQuality.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatStreamRequestCitationQuality.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatStreamRequestPromptTruncation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatStreamRequestPromptTruncation.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatStreamRequestSafetyMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatStreamRequestSafetyMode.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatStreamStartEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatStreamStartEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatTextContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatTextContent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatTextGenerationEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatTextGenerationEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatTextResponseFormat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatTextResponseFormat.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatTextResponseFormatV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatTextResponseFormatV2.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatThinkingContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatThinkingContent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolCallDeltaEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolCallDeltaEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolCallDeltaEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolCallDeltaEventDelta.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolCallDeltaEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolCallDeltaEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolCallDeltaEventDeltaMessageToolCalls.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolCallDeltaEventDeltaMessageToolCalls.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolCallEndEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolCallEndEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolCallStartEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolCallStartEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolCallStartEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolCallStartEventDelta.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolCallStartEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolCallStartEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolCallsChunkEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolCallsChunkEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolCallsGenerationEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolCallsGenerationEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolMessage.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolPlanDeltaEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolPlanDeltaEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolPlanDeltaEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolPlanDeltaEventDelta.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolPlanDeltaEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolPlanDeltaEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/serialization/types/ChatToolSource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ChatToolSource.ts -------------------------------------------------------------------------------- /src/serialization/types/CheckApiKeyResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CheckApiKeyResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/Citation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Citation.ts -------------------------------------------------------------------------------- /src/serialization/types/CitationEndEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CitationEndEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/CitationOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CitationOptions.ts -------------------------------------------------------------------------------- /src/serialization/types/CitationOptionsMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CitationOptionsMode.ts -------------------------------------------------------------------------------- /src/serialization/types/CitationStartEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CitationStartEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/CitationStartEventDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CitationStartEventDelta.ts -------------------------------------------------------------------------------- /src/serialization/types/CitationStartEventDeltaMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CitationStartEventDeltaMessage.ts -------------------------------------------------------------------------------- /src/serialization/types/CitationType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CitationType.ts -------------------------------------------------------------------------------- /src/serialization/types/ClassifyDataMetrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ClassifyDataMetrics.ts -------------------------------------------------------------------------------- /src/serialization/types/ClassifyExample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ClassifyExample.ts -------------------------------------------------------------------------------- /src/serialization/types/ClassifyRequestTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ClassifyRequestTruncate.ts -------------------------------------------------------------------------------- /src/serialization/types/ClassifyResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ClassifyResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/ClassifyResponseClassificationsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ClassifyResponseClassificationsItem.ts -------------------------------------------------------------------------------- /src/serialization/types/ClassifyResponseClassificationsItemLabelsValue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ClassifyResponseClassificationsItemLabelsValue.ts -------------------------------------------------------------------------------- /src/serialization/types/CompatibleEndpoint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CompatibleEndpoint.ts -------------------------------------------------------------------------------- /src/serialization/types/Connector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Connector.ts -------------------------------------------------------------------------------- /src/serialization/types/ConnectorAuthStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ConnectorAuthStatus.ts -------------------------------------------------------------------------------- /src/serialization/types/ConnectorOAuth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ConnectorOAuth.ts -------------------------------------------------------------------------------- /src/serialization/types/Content.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Content.ts -------------------------------------------------------------------------------- /src/serialization/types/CreateConnectorOAuth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CreateConnectorOAuth.ts -------------------------------------------------------------------------------- /src/serialization/types/CreateConnectorResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CreateConnectorResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/CreateConnectorServiceAuth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CreateConnectorServiceAuth.ts -------------------------------------------------------------------------------- /src/serialization/types/CreateEmbedJobResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/CreateEmbedJobResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/Dataset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Dataset.ts -------------------------------------------------------------------------------- /src/serialization/types/DatasetPart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/DatasetPart.ts -------------------------------------------------------------------------------- /src/serialization/types/DatasetType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/DatasetType.ts -------------------------------------------------------------------------------- /src/serialization/types/DatasetValidationStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/DatasetValidationStatus.ts -------------------------------------------------------------------------------- /src/serialization/types/DeleteConnectorResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/DeleteConnectorResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/DetokenizeResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/DetokenizeResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/Document.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Document.ts -------------------------------------------------------------------------------- /src/serialization/types/DocumentContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/DocumentContent.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedByTypeResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedByTypeResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedByTypeResponseEmbeddings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedByTypeResponseEmbeddings.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedContent.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedFloatsResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedFloatsResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedImage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedImage.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedImageUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedImageUrl.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedInput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedInput.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedInputType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedInputType.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedJob.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedJob.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedJobStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedJobStatus.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedJobTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedJobTruncate.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedRequestTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedRequestTruncate.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbedText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbedText.ts -------------------------------------------------------------------------------- /src/serialization/types/EmbeddingType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/EmbeddingType.ts -------------------------------------------------------------------------------- /src/serialization/types/FinetuneDatasetMetrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/FinetuneDatasetMetrics.ts -------------------------------------------------------------------------------- /src/serialization/types/FinishReason.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/FinishReason.ts -------------------------------------------------------------------------------- /src/serialization/types/GenerateRequestReturnLikelihoods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/GenerateRequestReturnLikelihoods.ts -------------------------------------------------------------------------------- /src/serialization/types/GenerateRequestTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/GenerateRequestTruncate.ts -------------------------------------------------------------------------------- /src/serialization/types/GenerateStreamEnd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/GenerateStreamEnd.ts -------------------------------------------------------------------------------- /src/serialization/types/GenerateStreamEndResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/GenerateStreamEndResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/GenerateStreamError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/GenerateStreamError.ts -------------------------------------------------------------------------------- /src/serialization/types/GenerateStreamEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/GenerateStreamEvent.ts -------------------------------------------------------------------------------- /src/serialization/types/GenerateStreamRequestReturnLikelihoods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/GenerateStreamRequestReturnLikelihoods.ts -------------------------------------------------------------------------------- /src/serialization/types/GenerateStreamRequestTruncate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/GenerateStreamRequestTruncate.ts -------------------------------------------------------------------------------- /src/serialization/types/GenerateStreamText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/GenerateStreamText.ts -------------------------------------------------------------------------------- /src/serialization/types/GenerateStreamedResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/GenerateStreamedResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/Generation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Generation.ts -------------------------------------------------------------------------------- /src/serialization/types/GetConnectorResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/GetConnectorResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/GetModelResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/GetModelResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/Image.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Image.ts -------------------------------------------------------------------------------- /src/serialization/types/ImageContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ImageContent.ts -------------------------------------------------------------------------------- /src/serialization/types/ImageUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ImageUrl.ts -------------------------------------------------------------------------------- /src/serialization/types/ImageUrlDetail.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ImageUrlDetail.ts -------------------------------------------------------------------------------- /src/serialization/types/JsonResponseFormat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/JsonResponseFormat.ts -------------------------------------------------------------------------------- /src/serialization/types/JsonResponseFormatV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/JsonResponseFormatV2.ts -------------------------------------------------------------------------------- /src/serialization/types/LabelMetric.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/LabelMetric.ts -------------------------------------------------------------------------------- /src/serialization/types/ListConnectorsResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ListConnectorsResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/ListEmbedJobResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ListEmbedJobResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/ListModelsResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ListModelsResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/LogprobItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/LogprobItem.ts -------------------------------------------------------------------------------- /src/serialization/types/Message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Message.ts -------------------------------------------------------------------------------- /src/serialization/types/Metrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Metrics.ts -------------------------------------------------------------------------------- /src/serialization/types/NonStreamedChatResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/NonStreamedChatResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/OAuthAuthorizeResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/OAuthAuthorizeResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/ParseInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ParseInfo.ts -------------------------------------------------------------------------------- /src/serialization/types/RerankDocument.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/RerankDocument.ts -------------------------------------------------------------------------------- /src/serialization/types/RerankRequestDocumentsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/RerankRequestDocumentsItem.ts -------------------------------------------------------------------------------- /src/serialization/types/RerankResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/RerankResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/RerankResponseResultsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/RerankResponseResultsItem.ts -------------------------------------------------------------------------------- /src/serialization/types/RerankResponseResultsItemDocument.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/RerankResponseResultsItemDocument.ts -------------------------------------------------------------------------------- /src/serialization/types/RerankerDataMetrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/RerankerDataMetrics.ts -------------------------------------------------------------------------------- /src/serialization/types/ResponseFormat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ResponseFormat.ts -------------------------------------------------------------------------------- /src/serialization/types/ResponseFormatV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ResponseFormatV2.ts -------------------------------------------------------------------------------- /src/serialization/types/SingleGeneration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/SingleGeneration.ts -------------------------------------------------------------------------------- /src/serialization/types/SingleGenerationInStream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/SingleGenerationInStream.ts -------------------------------------------------------------------------------- /src/serialization/types/SingleGenerationTokenLikelihoodsItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/SingleGenerationTokenLikelihoodsItem.ts -------------------------------------------------------------------------------- /src/serialization/types/Source.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Source.ts -------------------------------------------------------------------------------- /src/serialization/types/StreamedChatResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/StreamedChatResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/SummarizeRequestExtractiveness.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/SummarizeRequestExtractiveness.ts -------------------------------------------------------------------------------- /src/serialization/types/SummarizeRequestFormat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/SummarizeRequestFormat.ts -------------------------------------------------------------------------------- /src/serialization/types/SummarizeRequestLength.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/SummarizeRequestLength.ts -------------------------------------------------------------------------------- /src/serialization/types/SummarizeResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/SummarizeResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/SystemMessageV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/SystemMessageV2.ts -------------------------------------------------------------------------------- /src/serialization/types/SystemMessageV2Content.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/SystemMessageV2Content.ts -------------------------------------------------------------------------------- /src/serialization/types/SystemMessageV2ContentItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/SystemMessageV2ContentItem.ts -------------------------------------------------------------------------------- /src/serialization/types/Thinking.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Thinking.ts -------------------------------------------------------------------------------- /src/serialization/types/ThinkingType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ThinkingType.ts -------------------------------------------------------------------------------- /src/serialization/types/TokenizeResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/TokenizeResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/Tool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Tool.ts -------------------------------------------------------------------------------- /src/serialization/types/ToolCall.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ToolCall.ts -------------------------------------------------------------------------------- /src/serialization/types/ToolCallDelta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ToolCallDelta.ts -------------------------------------------------------------------------------- /src/serialization/types/ToolCallV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ToolCallV2.ts -------------------------------------------------------------------------------- /src/serialization/types/ToolCallV2Function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ToolCallV2Function.ts -------------------------------------------------------------------------------- /src/serialization/types/ToolContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ToolContent.ts -------------------------------------------------------------------------------- /src/serialization/types/ToolMessageV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ToolMessageV2.ts -------------------------------------------------------------------------------- /src/serialization/types/ToolMessageV2Content.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ToolMessageV2Content.ts -------------------------------------------------------------------------------- /src/serialization/types/ToolParameterDefinitionsValue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ToolParameterDefinitionsValue.ts -------------------------------------------------------------------------------- /src/serialization/types/ToolResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ToolResult.ts -------------------------------------------------------------------------------- /src/serialization/types/ToolV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ToolV2.ts -------------------------------------------------------------------------------- /src/serialization/types/ToolV2Function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/ToolV2Function.ts -------------------------------------------------------------------------------- /src/serialization/types/UpdateConnectorResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/UpdateConnectorResponse.ts -------------------------------------------------------------------------------- /src/serialization/types/Usage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/Usage.ts -------------------------------------------------------------------------------- /src/serialization/types/UsageBilledUnits.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/UsageBilledUnits.ts -------------------------------------------------------------------------------- /src/serialization/types/UsageTokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/UsageTokens.ts -------------------------------------------------------------------------------- /src/serialization/types/UserMessageV2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/UserMessageV2.ts -------------------------------------------------------------------------------- /src/serialization/types/UserMessageV2Content.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/UserMessageV2Content.ts -------------------------------------------------------------------------------- /src/serialization/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/serialization/types/index.ts -------------------------------------------------------------------------------- /src/test/__snapshots__/aws-util-tests.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/test/__snapshots__/aws-util-tests.test.ts.snap -------------------------------------------------------------------------------- /src/test/__snapshots__/client.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/test/__snapshots__/client.test.ts.snap -------------------------------------------------------------------------------- /src/test/aws-util-tests.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/test/aws-util-tests.test.ts -------------------------------------------------------------------------------- /src/test/bedrock-tests.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/test/bedrock-tests.test.ts -------------------------------------------------------------------------------- /src/test/client.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/test/client.test.ts -------------------------------------------------------------------------------- /src/test/env.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/test/env.test.ts -------------------------------------------------------------------------------- /src/test/tests.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/test/tests.test.ts -------------------------------------------------------------------------------- /src/test/testsV2.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/src/test/testsV2.test.ts -------------------------------------------------------------------------------- /src/version.ts: -------------------------------------------------------------------------------- 1 | export const SDK_VERSION = "7.20.0"; 2 | -------------------------------------------------------------------------------- /tests/custom.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/custom.test.ts -------------------------------------------------------------------------------- /tests/mock-server/MockServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/mock-server/MockServer.ts -------------------------------------------------------------------------------- /tests/mock-server/MockServerPool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/mock-server/MockServerPool.ts -------------------------------------------------------------------------------- /tests/mock-server/mockEndpointBuilder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/mock-server/mockEndpointBuilder.ts -------------------------------------------------------------------------------- /tests/mock-server/randomBaseUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/mock-server/randomBaseUrl.ts -------------------------------------------------------------------------------- /tests/mock-server/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/mock-server/setup.ts -------------------------------------------------------------------------------- /tests/mock-server/withFormUrlEncoded.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/mock-server/withFormUrlEncoded.ts -------------------------------------------------------------------------------- /tests/mock-server/withHeaders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/mock-server/withHeaders.ts -------------------------------------------------------------------------------- /tests/mock-server/withJson.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/mock-server/withJson.ts -------------------------------------------------------------------------------- /tests/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/tsconfig.json -------------------------------------------------------------------------------- /tests/unit/auth/BasicAuth.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/auth/BasicAuth.test.ts -------------------------------------------------------------------------------- /tests/unit/auth/BearerToken.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/auth/BearerToken.test.ts -------------------------------------------------------------------------------- /tests/unit/base64.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/base64.test.ts -------------------------------------------------------------------------------- /tests/unit/fetcher/Fetcher.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/fetcher/Fetcher.test.ts -------------------------------------------------------------------------------- /tests/unit/fetcher/HttpResponsePromise.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/fetcher/HttpResponsePromise.test.ts -------------------------------------------------------------------------------- /tests/unit/fetcher/RawResponse.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/fetcher/RawResponse.test.ts -------------------------------------------------------------------------------- /tests/unit/fetcher/createRequestUrl.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/fetcher/createRequestUrl.test.ts -------------------------------------------------------------------------------- /tests/unit/fetcher/getRequestBody.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/fetcher/getRequestBody.test.ts -------------------------------------------------------------------------------- /tests/unit/fetcher/getResponseBody.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/fetcher/getResponseBody.test.ts -------------------------------------------------------------------------------- /tests/unit/fetcher/logging.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/fetcher/logging.test.ts -------------------------------------------------------------------------------- /tests/unit/fetcher/makeRequest.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/fetcher/makeRequest.test.ts -------------------------------------------------------------------------------- /tests/unit/fetcher/redacting.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/fetcher/redacting.test.ts -------------------------------------------------------------------------------- /tests/unit/fetcher/requestWithRetries.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/fetcher/requestWithRetries.test.ts -------------------------------------------------------------------------------- /tests/unit/fetcher/signals.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/fetcher/signals.test.ts -------------------------------------------------------------------------------- /tests/unit/fetcher/test-file.txt: -------------------------------------------------------------------------------- 1 | This is a test file! 2 | -------------------------------------------------------------------------------- /tests/unit/file/file.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/file/file.test.ts -------------------------------------------------------------------------------- /tests/unit/form-data-utils/encodeAsFormParameter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/form-data-utils/encodeAsFormParameter.test.ts -------------------------------------------------------------------------------- /tests/unit/form-data-utils/formDataWrapper.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/form-data-utils/formDataWrapper.test.ts -------------------------------------------------------------------------------- /tests/unit/logging/logger.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/logging/logger.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/bigint/bigint.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/bigint/bigint.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/date/date.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/date/date.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/enum/enum.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/enum/enum.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/lazy/lazy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/lazy/lazy.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/lazy/lazyObject.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/lazy/lazyObject.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/lazy/recursive/a.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/lazy/recursive/a.ts -------------------------------------------------------------------------------- /tests/unit/schemas/lazy/recursive/b.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/lazy/recursive/b.ts -------------------------------------------------------------------------------- /tests/unit/schemas/list/list.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/list/list.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/literals/stringLiteral.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/literals/stringLiteral.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/object-like/withParsedProperties.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/object-like/withParsedProperties.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/object/extend.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/object/extend.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/object/object.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/object/object.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/object/objectWithoutOptionalProperties.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/object/objectWithoutOptionalProperties.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/object/passthrough.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/object/passthrough.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/primitives/any.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/primitives/any.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/primitives/boolean.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/primitives/boolean.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/primitives/never.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/primitives/never.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/primitives/number.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/primitives/number.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/primitives/string.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/primitives/string.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/primitives/unknown.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/primitives/unknown.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/record/record.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/record/record.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/schema-utils/getSchemaUtils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/schema-utils/getSchemaUtils.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/schema.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/schema.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/set/set.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/set/set.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/skipValidation.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/skipValidation.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/undiscriminated-union/undiscriminatedUnion.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/undiscriminated-union/undiscriminatedUnion.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/union/union.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/union/union.test.ts -------------------------------------------------------------------------------- /tests/unit/schemas/utils/itSchema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/utils/itSchema.ts -------------------------------------------------------------------------------- /tests/unit/schemas/utils/itValidate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/schemas/utils/itValidate.ts -------------------------------------------------------------------------------- /tests/unit/stream/Stream.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/stream/Stream.test.ts -------------------------------------------------------------------------------- /tests/unit/test-file.txt: -------------------------------------------------------------------------------- 1 | This is a test file! 2 | -------------------------------------------------------------------------------- /tests/unit/url/join.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/url/join.test.ts -------------------------------------------------------------------------------- /tests/unit/url/qs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/unit/url/qs.test.ts -------------------------------------------------------------------------------- /tests/wire/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/wire/batches.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/wire/batches.test.ts -------------------------------------------------------------------------------- /tests/wire/connectors.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/wire/connectors.test.ts -------------------------------------------------------------------------------- /tests/wire/datasets.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/wire/datasets.test.ts -------------------------------------------------------------------------------- /tests/wire/embedJobs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/wire/embedJobs.test.ts -------------------------------------------------------------------------------- /tests/wire/finetuning.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/wire/finetuning.test.ts -------------------------------------------------------------------------------- /tests/wire/main.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/wire/main.test.ts -------------------------------------------------------------------------------- /tests/wire/models.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/wire/models.test.ts -------------------------------------------------------------------------------- /tests/wire/v2.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tests/wire/v2.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cohere-ai/cohere-typescript/HEAD/vitest.config.mts --------------------------------------------------------------------------------