From 1b03e3f15f70fce8a6be6b849c48b76feff6ac6a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 23:45:12 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#23) --- .stats.yml | 2 +- src/resources/embeddings.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf0d3ce..d40eba1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 15 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2FTogetherAI-e8f4e11a2e3927c75dce42c913ef5c9adcf2aef3d3b1312b4825d9f135413c39.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2FTogetherAI-9ca35fd97a4194757393da2b0049a2e9900fd837a69afecfe01568b83796e299.yml diff --git a/src/resources/embeddings.ts b/src/resources/embeddings.ts index 2545b52..71b8a83 100644 --- a/src/resources/embeddings.ts +++ b/src/resources/embeddings.ts @@ -35,7 +35,7 @@ export interface EmbeddingCreateParams { /** * A string providing the text for the model to embed. */ - input: string; + input: string | Array; /** * The name of the embedding model to use.