mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-07-01 21:00:48 +08:00
Merge pull request #546 from Nafay-0/patch-1
This commit is contained in:
commit
8b48af2fed
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user