Spaces:
Sleeping
Sleeping
Upload 3 files
Browse filesupdated data to 400+ use cases
- README.md +3 -3
- app.py +1 -1
- chroma_db_complete.tar.gz +2 -2
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: π§
|
|
4 |
colorFrom: blue
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
@@ -12,7 +12,7 @@ license: mit
|
|
12 |
|
13 |
# ML/AI Use Cases RAG Assistant (Bring Your Own Key)
|
14 |
|
15 |
-
An AI-powered assistant that provides business advice based on real ML/AI implementations from
|
16 |
|
17 |
**π Bring Your Own Key:** This version requires users to provide their own HuggingFace API key, ensuring zero cost to the space owner while maintaining full functionality.
|
18 |
|
@@ -30,7 +30,7 @@ An AI-powered assistant that provides business advice based on real ML/AI implem
|
|
30 |
|
31 |
1. **π API Key Setup**: Provide your HuggingFace API key for secure access
|
32 |
2. **π Query Processing**: Your business problem is analyzed and converted to embeddings
|
33 |
-
3. **π Semantic Search**: The system searches through
|
34 |
4. **π Context Building**: Relevant company examples are selected as context
|
35 |
5. **π€ AI Generation**: Your API key powers the language model to generate tailored advice
|
36 |
6. **π Model Matching**: HuggingFace API provides relevant model recommendations using your key
|
|
|
4 |
colorFrom: blue
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.0.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
|
|
12 |
|
13 |
# ML/AI Use Cases RAG Assistant (Bring Your Own Key)
|
14 |
|
15 |
+
An AI-powered assistant that provides business advice based on real ML/AI implementations from 60+ companies with 400+ use cases. This app uses Retrieval-Augmented Generation (RAG) to find relevant company examples and provides actionable recommendations.
|
16 |
|
17 |
**π Bring Your Own Key:** This version requires users to provide their own HuggingFace API key, ensuring zero cost to the space owner while maintaining full functionality.
|
18 |
|
|
|
30 |
|
31 |
1. **π API Key Setup**: Provide your HuggingFace API key for secure access
|
32 |
2. **π Query Processing**: Your business problem is analyzed and converted to embeddings
|
33 |
+
3. **π Semantic Search**: The system searches through 400+ pre-processed ML use cases
|
34 |
4. **π Context Building**: Relevant company examples are selected as context
|
35 |
5. **π€ AI Generation**: Your API key powers the language model to generate tailored advice
|
36 |
6. **π Model Matching**: HuggingFace API provides relevant model recommendations using your key
|
app.py
CHANGED
@@ -480,7 +480,7 @@ def generate_template_response(prompt: str) -> str:
|
|
480 |
- Business metrics alignment
|
481 |
- Technical infrastructure requirements
|
482 |
|
483 |
-
This analysis is based on patterns from
|
484 |
|
485 |
@app.post("/chat", response_model=ChatResponse)
|
486 |
async def chat_with_rag(request: ChatRequest, x_hf_api_key: str = Header(None, alias="X-HF-API-Key")):
|
|
|
480 |
- Business metrics alignment
|
481 |
- Technical infrastructure requirements
|
482 |
|
483 |
+
This analysis is based on patterns from 400+ real-world ML implementations across various industries."""
|
484 |
|
485 |
@app.post("/chat", response_model=ChatResponse)
|
486 |
async def chat_with_rag(request: ChatRequest, x_hf_api_key: str = Header(None, alias="X-HF-API-Key")):
|
chroma_db_complete.tar.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a490f8a2f67f84a4c0297064635b8a197db500ef2b92187210f8e1995901b9ee
|
3 |
+
size 5063863
|