File size: 935 Bytes
1ee3b0f
 
 
 
 
 
 
 
 
 
 
42a7bc0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
title: Pc Ai Data Analyst V2
emoji: πŸ“ˆ
colorFrom: purple
colorTo: yellow
sdk: gradio
sdk_version: 5.37.0
app_file: app.py
pinned: false
---

# πŸ’Š PharmaCircle AI Data Analyst v2 

This is a Gradio application that acts as an AI-powered data analyst for the PharmaCircle Solr database. It uses a Large Language Model (LLM) to translate natural language questions into Solr queries, executes them, and then generates visualizations and reports based on the results.

## Required Secrets

To run this space, you will need to set the following secrets in the "Settings" tab of your Hugging Face Space:

- `SSH_HOST`: The hostname or IP address of the SSH server for the tunnel.
- `SSH_USER`: The username for the SSH connection.
- `SSH_PASS`: The password for the SSH connection.
- `SOLR_USER`: The username for the Solr database.
- `SOLR_PASS`: The password for the Solr database.
- `GEMINI_API_KEY`: Your Google Gemini API key.