Skip to content

Commit

Permalink
No need ot manually init queue
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinchuk committed Jul 3, 2024
1 parent 37bf10a commit 74d606e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ordinance_gpt/parse_pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 74d606e

Please sign in to comment.