From b309bc34e1798ece9af725afec6051f87b2ced8b Mon Sep 17 00:00:00 2001 From: UncleCode Date: Fri, 18 Oct 2024 15:32:25 +0800 Subject: [PATCH] Fix the model nam ein quick start example --- docs/examples/quickstart_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/quickstart_async.py b/docs/examples/quickstart_async.py index a3837406..1bd738bf 100644 --- a/docs/examples/quickstart_async.py +++ b/docs/examples/quickstart_async.py @@ -467,7 +467,7 @@ async def main(): # LLM extraction examples await extract_structured_data_using_llm() await extract_structured_data_using_llm("huggingface/meta-llama/Meta-Llama-3.1-8B-Instruct", os.getenv("HUGGINGFACE_API_KEY")) - await extract_structured_data_using_llm("openai/gpt-4", os.getenv("OPENAI_API_KEY")) + await extract_structured_data_using_llm("openai/gpt-4o", os.getenv("OPENAI_API_KEY")) await extract_structured_data_using_llm("ollama/llama3.2") # You always can pass custom headers to the extraction strategy