update sk AzureChatCompletion from base_url to endpoint

This commit is contained in:
better629 2023-12-22 17:43:10 +08:00
parent a6346c7bce
commit b6eb776190
3 changed files with 5 additions and 3 deletions

View file

@ -9,9 +9,9 @@ async def main():
# Serper API
# await Searcher(engine=SearchEngineType.SERPER_GOOGLE).run(question)
# SerpAPI
# await Searcher(engine=SearchEngineType.SERPAPI_GOOGLE).run(question)
await Searcher(engine=SearchEngineType.SERPAPI_GOOGLE).run(question)
# Google API
await Searcher(engine=SearchEngineType.DIRECT_GOOGLE).run(question)
# await Searcher(engine=SearchEngineType.DIRECT_GOOGLE).run(question)
if __name__ == "__main__":