mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: update Mistral codestral-embed dimension from 1024 to 1536
This commit is contained in:
parent
be84157d29
commit
326085704e
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ import { TelemetryService } from "@roo-code/telemetry"
|
|||
* with configuration for Mistral's embedding API.
|
||||
*
|
||||
* Supported models:
|
||||
* - codestral-embed (dimension: 1024)
|
||||
* - codestral-embed (dimension: 1536)
|
||||
*/
|
||||
export class MistralEmbedder implements IEmbedder {
|
||||
private readonly openAICompatibleEmbedder: OpenAICompatibleEmbedder
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ export const EMBEDDING_MODEL_PROFILES: EmbeddingModelProfiles = {
|
|||
"gemini-embedding-001": { dimension: 3072, scoreThreshold: 0.4 },
|
||||
},
|
||||
mistral: {
|
||||
"codestral-embed": { dimension: 1024, scoreThreshold: 0.4 },
|
||||
"codestral-embed": { dimension: 1536, scoreThreshold: 0.4 },
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue