Merge pull request #546 from Nafay-0/patch-1

This commit is contained in:
Marco Vinciguerra 2024-08-14 14:25:10 +02:00 committed by GitHub
commit 8b48af2fed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,10 +132,12 @@ We can also pass a model instance for the chat model and the embedding model. Fo
azure_deployment="AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT_NAME",
openai_api_version="AZURE_OPENAI_API_VERSION",
)
# Supposing model_tokens are 100K
model_tokens_count = 100000
graph_config = {
"llm": {
"model_instance": llm_model_instance
"model_instance": llm_model_instance,
"model_tokens": model_tokens_count,
},
"embeddings": {
"model_instance": embedder_model_instance
@ -191,4 +193,4 @@ We can also pass a model instance for the chat model and the embedding model. Fo
"embeddings": {
"model_instance": embedder_model_instance
}
}
}