Skip to content

Commit

Permalink
feat: add new models
Browse files Browse the repository at this point in the history
  • Loading branch information
sgomez committed Jan 17, 2025
1 parent da3c2fd commit e7967c3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions packages/ollama/src/ollama-chat-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,26 @@ export type OllamaChatModelId =
| 'command-r:35b'
| 'command-r-plus'
| 'command-r-plus:104b'
| 'command-r7b'
| 'command-r7b:7b'
| 'deepseek-coder-v2'
| 'deepseek-coder-v2:16b'
| 'deepseek-coder-v2:236b'
| 'deepseek-v3'
| 'deepseek-v3:671b'
| 'dolphin3'
| 'dolphin3:8b'
| 'exaone3.5'
| 'exaone3.5:2.4b'
| 'exaone3.5:7.8b'
| 'exaone3.5:32b'
| 'falcon2'
| 'falcon2:11b'
| 'falcon3'
| 'falcon3:1b'
| 'falcon3:3b'
| 'falcon3:7b'
| 'falcon3:10b'
| 'firefunction-v2'
| 'firefunction-v2:70b'
| 'gemma'
Expand All @@ -41,6 +56,12 @@ export type OllamaChatModelId =
| 'granite3-moe'
| 'granite3-moe:1b'
| 'granite3-moe:3b'
| 'granite3.1-dense'
| 'granite3.1-dense:2b'
| 'granite3.1-dense:8b'
| 'granite3.1-moe'
| 'granite3.1-moe:1b'
| 'granite3.1-moe:3b'
| 'llama2'
| 'llama2:7b'
| 'llama2:13b'
Expand Down Expand Up @@ -98,6 +119,9 @@ export type OllamaChatModelId =
| 'nemotron:70b'
| 'nemotron-mini'
| 'nemotron-mini:4b'
| 'olmo'
| 'olmo:7b'
| 'olmo:13b'
| 'opencoder'
| 'opencoder:1.5b'
| 'opencoder:8b'
Expand All @@ -106,6 +130,8 @@ export type OllamaChatModelId =
| 'phi3:14b'
| 'phi3.5'
| 'phi3.5:3.8b'
| 'phi4'
| 'phi4:14b'
| 'qwen'
| 'qwen:7b'
| 'qwen:14b'
Expand Down Expand Up @@ -142,6 +168,8 @@ export type OllamaChatModelId =
| 'shieldgemma:2b'
| 'shieldgemma:9b'
| 'shieldgemma:27b'
| 'smallthinker'
| 'smallthinker:3b'
| 'smollm'
| 'smollm:135m'
| 'smollm:360m'
Expand Down
3 changes: 3 additions & 0 deletions packages/ollama/src/ollama-embedding-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ export type OllamaEmbeddingModelId =
| 'all-minilm:33m'
| 'bge-large'
| 'bge-m3'
| 'granite-embedding'
| 'granite-embedding:30m'
| 'granite-embedding:278m'
| 'mxbai-embed-large'
| 'nomic-embed-text'
| 'paraphrase-multilingual'
Expand Down

0 comments on commit e7967c3

Please sign in to comment.