cgoncalves commited on
Commit
a68a754
·
1 Parent(s): f4a94cb

Add environment variable setup instructions to README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -1
README.md CHANGED
@@ -11,4 +11,25 @@ license: mit
11
  short_description: HF Agents Course
12
  ---
13
 
14
- An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  short_description: HF Agents Course
12
  ---
13
 
14
+
15
+ ## Environment Variables
16
+
17
+ To run this application, you need to set up the following environment variables in a `.env` file:
18
+
19
+ ```
20
+ # Hugging Face API token (required)
21
+ HUGGINGFACEHUB_API_TOKEN=your_huggingface_token
22
+
23
+ # Langfuse logging (optional)
24
+ LANGFUSE_SECRET_KEY=your_langfuse_secret
25
+ LANGFUSE_PUBLIC_KEY=your_langfuse_public
26
+ LANGFUSE_HOST=https://cloud.langfuse.com
27
+
28
+ # Weather API (required for weather tool)
29
+ WEATHERAPI_KEY=your_weatherapi_key
30
+ ```
31
+
32
+ You can obtain these API keys from:
33
+ - [Hugging Face](https://huggingface.co/settings/tokens)
34
+ - [Langfuse](https://langfuse.com/)
35
+ - [WeatherAPI](https://www.weatherapi.com/)