mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-07-01 21:00:48 +08:00
chore: update gemini model to "gemini-pro"
This commit is contained in:
parent
78593e303a
commit
a7264cebd2
@ -6,6 +6,7 @@ import os, json
|
|||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
from scrapegraphai.utils import prettify_exec_info
|
from scrapegraphai.utils import prettify_exec_info
|
||||||
from scrapegraphai.graphs import PDFScraperGraph
|
from scrapegraphai.graphs import PDFScraperGraph
|
||||||
|
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
|
|
||||||
|
|
||||||
@ -18,7 +19,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
|
|||||||
graph_config = {
|
graph_config = {
|
||||||
"llm": {
|
"llm": {
|
||||||
"api_key": gemini_key,
|
"api_key": gemini_key,
|
||||||
"model": "gemini-pr",
|
"model": "gemini-pro",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user