ClaCe commited on
Commit
998af39
Β·
verified Β·
1 Parent(s): 989df3d

Upload 3 files

Browse files

updated data to 400+ use cases

Files changed (3) hide show
  1. README.md +3 -3
  2. app.py +1 -1
  3. 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: 5.44.0
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 310+ companies. 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,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 310+ 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
 
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 310+ 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")):
 
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:5e9ae444eee4049218ca44a3490cfaa8d3d5c80d2453cf24904bf8cf8ec0bacf
3
- size 2617874
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a490f8a2f67f84a4c0297064635b8a197db500ef2b92187210f8e1995901b9ee
3
+ size 5063863