File size: 920 Bytes
0128def
619ad72
0128def
 
 
1e3b7bd
0128def
cfb03af
0128def
 
3ce50c4
e0cc0af
e8d4494
 
 
e3d7fcc
0128def
 
830adc3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
28
29
30
31
32
33
34
35
---
title: QSARion - A chemical agent to predict molecular properties given a SMILES
emoji: 
colorFrom: pink
colorTo: yellow
python_version: 3.11
sdk: gradio
sdk_version: 5.32.1
app_file: app.py
pinned: false
tags:
- smolagents
- agent
- smolagent
- tool
- agent-course
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

## Environment Setup

Set the following environment variables before running/deploying:

- `OPENAI_API_KEY` (required): your OpenAI API key
- `LLM_MODEL_ID` (optional): defaults to `gpt-4o-mini`
- `LLM_API_BASE` (optional): defaults to `https://api.openai.com/v1`
 - `LLM_MAX_TOKENS` (optional): max assistant output tokens, defaults to `4096`
 - `LLM_TEMPERATURE` (optional): sampling temperature, defaults to `0.3`

Tracing (optional, if you use Langfuse as currently configured in `app.py`):

- `LANGFUSE_PUBLIC_KEY`
- `LANGFUSE_SECRET_KEY`