fix: fix the example variable name

This commit is contained in:
roryhaung 2024-10-18 01:36:29 +08:00
parent 2512262be8
commit 69ff649556

View File

@ -35,11 +35,11 @@ class SmartScraperMultiConcatGraph(AbstractGraph):
schema (Optional[BaseModel]): The schema for the graph output. schema (Optional[BaseModel]): The schema for the graph output.
Example: Example:
>>> search_graph = MultipleSearchGraph( >>> smart_scraper_multi_concat_graph = SmartScraperMultiConcatGraph(
... "What is Chioggia famous for?", ... "What is Chioggia famous for?",
... {"llm": {"model": "openai/gpt-3.5-turbo"}} ... {"llm": {"model": "openai/gpt-3.5-turbo"}}
... ) ... )
>>> result = search_graph.run() >>> result = smart_scraper_multi_concat_graph.run()
""" """
def __init__(self, prompt: str, source: List[str], def __init__(self, prompt: str, source: List[str],