Somnath3570 commited on
Commit
7d02a13
·
verified ·
1 Parent(s): 055c278

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +51 -14
README.md CHANGED
@@ -1,14 +1,51 @@
1
- ---
2
- title: Groq Tavily Ai Chatbot
3
- emoji: 🐠
4
- colorFrom: green
5
- colorTo: indigo
6
- sdk: streamlit
7
- sdk_version: 1.42.2
8
- app_file: app.py
9
- pinned: false
10
- license: mit
11
- short_description: 'An intelligent AI chatbot powered by Groq''s LLMs '
12
- ---
13
-
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ AI Chatbot Agents with Groq and Tavily
2
+ This Streamlit application creates an AI chatbot that uses Groq's LLMs and Tavily's search capabilities to provide intelligent responses.
3
+ Features
4
+
5
+ Uses Groq's LLMs (llama-3.3-70b-versatile and mixtral-8x7b-32768)
6
+ Optional web search capabilities using Tavily
7
+ Customizable system prompts
8
+ Interactive Streamlit interface
9
+
10
+ Setup Instructions
11
+
12
+ Create a new Space on Hugging Face:
13
+
14
+ Go to huggingface.co/spaces
15
+ Click "Create new Space"
16
+ Choose "Streamlit" as the SDK
17
+ Set the visibility as per your preference
18
+
19
+
20
+ Add your API keys as secrets:
21
+
22
+ In your Space's Settings, go to "Variables and secrets"
23
+ Add the following secrets:
24
+
25
+ GROQ_API_KEY
26
+ TAVILY_API_KEY
27
+
28
+
29
+
30
+
31
+ Upload the following files to your Space:
32
+
33
+ app.py
34
+ requirements.txt
35
+ README.md
36
+
37
+
38
+
39
+ The application will automatically deploy once all files are uploaded.
40
+ Usage
41
+
42
+ Enter a system prompt to define the AI agent's role
43
+ Select a Groq model
44
+ Choose whether to enable web search
45
+ Enter your query
46
+ Click "Ask Agent!" to get a response
47
+
48
+ Requirements
49
+ See requirements.txt for the complete list of dependencies.
50
+ License
51
+ MIT License