Skip to content

Commit

Permalink
added model name to config
Browse files Browse the repository at this point in the history
  • Loading branch information
malgamves committed Jan 7, 2025
1 parent ad95219 commit ff45be8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ await client.collections.create({
// Define the vectorizer module
vectorizers: vectorizer.multi2VecVoyageAI({
imageFields: [{ name: "poster", weight: 0.9 }],
textFields: [{ name: "title", weight: 0.1 }]
textFields: [{ name: "title", weight: 0.1 }],
model: "voyage-multimodal-3"
}),
// Define the generative module
generative: configure.generative.cohere(),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"tailwindcss": "^3.2.7",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"weaviate-client": "^3.3.0",
"weaviate-client": "^3.3.1",
"weaviate-ts-client": "^2.2.0",
"weaviate-ts-embedded": "^1.2.0"
},
Expand Down

0 comments on commit ff45be8

Please sign in to comment.