Skip to content

Commit

Permalink
docs(refactor): changed example
Browse files Browse the repository at this point in the history
  • Loading branch information
PeriniM committed May 13, 2024
1 parent 0c15947 commit c7ec114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/openai/search_graph_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
graph_config = {
"llm": {
"api_key": openai_key,
"model": "gpt-4-turbo",
"model": "gpt-3.5-turbo",
},
"max_results": 2,
"verbose": True,
Expand All @@ -28,7 +28,7 @@
# ************************************************

search_graph = SearchGraph(
prompt="List me the heir of the British throne.",
prompt="List me the Chioggia typical dishes",
config=graph_config
)

Expand Down
2 changes: 1 addition & 1 deletion examples/openai/smart_scraper_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# ************************************************

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
Expand Down

0 comments on commit c7ec114

Please sign in to comment.