docs(refactor): changed example

This commit is contained in:
Marco Perini 2024-05-13 12:28:03 +02:00
parent 0c1594737f
commit c7ec114274
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ openai_key = os.getenv("OPENAI_APIKEY")
graph_config = {
"llm": {
"api_key": openai_key,
"model": "gpt-4-turbo",
"model": "gpt-3.5-turbo",
},
"max_results": 2,
"verbose": True,
@ -28,7 +28,7 @@ graph_config = {
# ************************************************
search_graph = SearchGraph(
prompt="List me the heir of the British throne.",
prompt="List me the Chioggia typical dishes",
config=graph_config
)

View File

@ -30,7 +30,7 @@ graph_config = {
# ************************************************
smart_scraper_graph = SmartScraperGraph(
prompt="List me all the links in the page",
prompt="List me all the projects with their description.",
# also accepts a string with the already downloaded HTML code
source="https://perinim.github.io/projects/",
config=graph_config