From 74d606e272d61776677b8490eeeeeccf5adf5f87 Mon Sep 17 00:00:00 2001 From: ppinchuk Date: Wed, 3 Jul 2024 17:36:16 -0600 Subject: [PATCH] No need ot manually init queue --- examples/ordinance_gpt/parse_pdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ordinance_gpt/parse_pdf.py b/examples/ordinance_gpt/parse_pdf.py index ed5d941..caa4c95 100644 --- a/examples/ordinance_gpt/parse_pdf.py +++ b/examples/ordinance_gpt/parse_pdf.py @@ -41,8 +41,8 @@ api_version=azure_version, azure_endpoint=azure_endpoint) llm_service = OpenAIService(client, rate_limit=1e9) - initialize_service_queue(llm_service.__class__.__name__) services = [llm_service] + kwargs = dict(llm_service=llm_service, model='gpt-4', temperature=0) extractor = OrdinanceExtractor(LLMCaller(**kwargs))