Azure / gpt-rag-ingestion

MIT License
52 stars 48 forks source link

Performance improvements #101

Closed placerda closed 1 week ago

placerda commented 1 week ago

This pull request includes several updates to the SpreadsheetChunker class and the AzureOpenAIClient class to improve performance and readability. The key changes involve adding timing logs, refactoring the chunking logic, and updating the Azure OpenAI client configuration. Additionally, a fix was implemented for an error in the get_embedding method.

Enhancements to SpreadsheetChunker:

Configuration updates in AzureOpenAIClient:

Bug Fix:

Minor changes: