Skip to content

Commit 8f46509

Browse files
committed
Using VoyageAI's new model in the example
1 parent 345f917 commit 8f46509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

open-source/core-functionality/embedding.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ from unstructured.embed.voyageai import VoyageAIEmbeddingConfig, VoyageAIEmbeddi
232232
embedding_encoder = VoyageAIEmbeddingEncoder(
233233
config=VoyageAIEmbeddingConfig(
234234
api_key=os.environ["VOYAGE_API_KEY"],
235-
model_name="voyage-law-2"
235+
model_name="voyage-3"
236236
)
237237
)
238238
elements = embedding_encoder.embed_documents(

0 commit comments

Comments
 (0)