mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-03 03:59:42 +00:00
community[patch]: Voyage AI updates default model and batch size (#17655)
- **Description:** update the default model and batch size in VoyageEmbeddings - **Issue:** N/A - **Dependencies:** N/A - **Twitter handle:** N/A --------- Co-authored-by: fodizoltan <zoltan@conway.expert>
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
"id": "137cfde9-b88c-409a-9394-a9e31a6bf30d",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"Voyage AI utilizes API keys to monitor usage and manage permissions. To obtain your key, create an account on our [homepage](https://www.voyageai.com). Then, create a VoyageEmbeddings model with your API key."
|
||||
"Voyage AI utilizes API keys to monitor usage and manage permissions. To obtain your key, create an account on our [homepage](https://www.voyageai.com). Then, create a VoyageEmbeddings model with your API key. Please refer to the documentation for further details on the available models: https://docs.voyageai.com/embeddings/"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -37,7 +37,9 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"embeddings = VoyageEmbeddings(voyage_api_key=\"[ Your Voyage API key ]\")"
|
||||
"embeddings = VoyageEmbeddings(\n",
|
||||
" voyage_api_key=\"[ Your Voyage API key ]\", model=\"voyage-2\"\n",
|
||||
")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user