Skip to content

Commit

Permalink
Update models.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
peersky authored Dec 6, 2024
1 parent 7fb73d2 commit a2568b5
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions packages/core/src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,18 @@ export const models: Models = {
temperature: 0.7,
},
model: {
[ModelClass.SMALL]: "gemini-1.5-flash-latest",
[ModelClass.MEDIUM]: "gemini-1.5-flash-latest",
[ModelClass.LARGE]: "gemini-1.5-pro-latest",
[ModelClass.EMBEDDING]: "text-embedding-004",
[ModelClass.SMALL]: settings.SMALL_GOOGLE_MODEL ||
settings.GOOGLE_MODEL ||
"gemini-1.5-flash-latest",
[ModelClass.MEDIUM]: settings.MEDIUM_GOOGLE_MODEL ||
settings.GOOGLE_MODEL ||
"gemini-1.5-flash-latest",
[ModelClass.LARGE]: settings.LARGE_GOOGLE_MODEL ||
settings.GOOGLE_MODEL ||
"gemini-1.5-pro-latest",
[ModelClass.EMBEDDING]: settings.EMBEDDING_GOOGLE_MODEL ||
settings.GOOGLE_MODEL ||
"text-embedding-004",
},
},
[ModelProviderName.REDPILL]: {
Expand Down

0 comments on commit a2568b5

Please sign in to comment.