Backend
Folder: src\App\backend
The backend is a Python Quart app that processes queries, generates insights, and communicates with databases and AI services.
Features¶
-
Azure OpenAI Integration
- Handles natural language queries from users.
- Calls Azure OpenAI for understanding and response generation.
-
Semantic Kernel Plugin:
- Powers natural language interactions via custom kernel functions
-
Data Access
- SQL for structured data.
- Azure Cognitive Search for transcripts.
-
Chat History
- Cosmos DB for storing user conversations.
-
Chart Processing
- Converts results to chart-ready JSON that is then used to diplay chart on the frontend.
Semantic Kernel Plugin Breakdown¶
Located in ChatWithDataPlugin
:
greeting()
Text Only | |
---|---|
1 2 3 |
|
get_SQL_Response()
Text Only | |
---|---|
1 |
|
get_answers_from_calltranscripts()
Text Only | |
---|---|
1 2 3 4 5 |
|
Tools & Libraries¶
- Quart
- Azure OpenAI
- CosmosDB SDK
- SQLAlchemy
- Semantic Kernel
- Azure AI Search