set text-embedding-3-small as default for openai (#921)

This commit is contained in:
Bjørn Jørgensen 2024-03-03 22:31:21 +01:00 • committed by GitHub
parent 9f4305c1ed
commit 7cfef5a9bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import BaseEmbeddingsProvider from "./BaseEmbeddingsProvider";
class OpenAIEmbeddingsProvider extends BaseEmbeddingsProvider {
static defaultOptions: Partial<EmbedOptions> | undefined = {
apiBase: "https://api.openai.com/v1",
model: "text-embedding-3-large",
model: "text-embedding-3-small",
};
get id(): string {

View file

@ -98,7 +98,7 @@ We also support other methods of generating embeddings, which can be configured
OpenAI's [embeddings](https://platform.openai.com/docs/guides/embeddings) are high dimensional embeddings that give great performance on both text and code.
Configuration for text-embedding-3-small Model
Configuration for text-embedding-3-small Model. This is default.
The text-embedding-3-small model offers an outstanding balance between performance and efficiency, suitable for a versatile range of applications.
```json title="~/.continue/config.json"