chore(examples): update provider names to match tokens dictionary

This commit is contained in:
Federico Aguzzi 2024-08-13 19:33:29 +02:00
parent cb6b35397e
commit ee078cb102
35 changed files with 35 additions and 36 deletions

View File

@ -25,7 +25,7 @@ text = pd.read_csv(file_path)
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -25,7 +25,7 @@ text = pd.read_csv(file_path)
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -23,7 +23,7 @@ with open(file_path, 'r', encoding="utf-8") as file:
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -12,7 +12,7 @@ load_dotenv()
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -10,7 +10,7 @@ load_dotenv()
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -28,7 +28,7 @@ with open(file_path, 'r', encoding="utf-8") as file:
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -15,7 +15,7 @@ load_dotenv()
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -16,7 +16,7 @@ load_dotenv()
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -22,7 +22,7 @@ with open(file_path, 'r', encoding="utf-8") as file:
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -30,7 +30,7 @@ class Dishes(BaseModel):
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -15,7 +15,7 @@ load_dotenv()
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -26,7 +26,7 @@ load_dotenv()
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -14,7 +14,7 @@ load_dotenv()
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -28,7 +28,7 @@ class Projects(BaseModel):
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -24,7 +24,7 @@ with open(file_path, 'r', encoding="utf-8") as file:
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -25,7 +25,7 @@ with open(file_path, 'r', encoding="utf-8") as file:
graph_config = {
"llm": {
"api_key": os.environ["AZURE_OPENAI_KEY"],
"model": "azure/gpt-3.5-turbo",
"model": "azure_openai/gpt-3.5-turbo",
},
"verbose": True,
"headless": False

View File

@ -24,7 +24,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
}

View File

@ -28,7 +28,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
}

View File

@ -18,7 +18,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
"temperature": 0,
"streaming": True
},

View File

@ -28,7 +28,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
}

View File

@ -13,7 +13,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
"library": "beautifulsoup"
}

View File

@ -19,7 +19,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
}

View File

@ -13,7 +13,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
"library": "beautifulsoup"
}

View File

@ -29,7 +29,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
"temperature": 0,
"streaming": True
},

View File

@ -29,7 +29,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
"temperature": 0,
"streaming": True
},

View File

@ -19,7 +19,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
"library": "beautifoulsoup"
}

View File

@ -18,7 +18,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
"library": "beautifoulsoup"
}

View File

@ -17,7 +17,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
"temperature": 0,
"streaming": True
},

View File

@ -32,7 +32,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
}

View File

@ -17,7 +17,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
}
# ************************************************

View File

@ -18,7 +18,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
}

View File

@ -17,7 +17,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
}

View File

@ -29,7 +29,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
}
@ -54,4 +54,3 @@ print(result)
graph_exec_info = smart_scraper_graph.get_execution_info()
print(prettify_exec_info(graph_exec_info))
```

View File

@ -28,7 +28,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
}
# ************************************************

View File

@ -28,7 +28,7 @@ gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": gemini_key,
"model": "gemini-pro",
"model": "google_genai/gemini-pro",
},
}