You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,6 +139,8 @@ Run a predefined standard question:
139
139
python -m app.core.main -q 1
140
140
```
141
141
142
+
The numbers for `-q` index into `standard_questions` in [app/core/questions.py](app/core/questions.py) (module `app.core.questions`).
143
+
142
144
Run a custom question:
143
145
144
146
```bash
@@ -151,8 +153,18 @@ Override the endpoint at runtime:
151
153
python -m app.core.main -c "Which lab extracts show inhibition above 50% against Leishmania donovani?" --endpoint https://your-endpoint.example/sparql
152
154
```
153
155
156
+
Attach a local input file to your question with `-f` (the file is copied into the session so the `FILE_ANALYZER` tool can use it):
157
+
158
+
```bash
159
+
python -m app.core.main -c "Summarize the annotations in this file" -f path/to/your_file.csv
160
+
```
161
+
154
162
MetaboT saves all result sets to CSV files in a temporary folder and returns the file path. When results are small, they are also displayed inline; for large result sets, only the file path is returned to avoid exceeding the LLM context window.
155
163
164
+
### LangSmith automated evaluation (benchmark)
165
+
166
+
This repository includes a LangSmith-based automated evaluation script at `app/core/tests/evaluation.py`. To run it locally you need a LangSmith API key (`LANGCHAIN_API_KEY` or `LANGSMITH_API_KEY`) and an LLM provider key (e.g. `OPENAI_API_KEY`). See [docs/examples/langsmith-evaluation.md](docs/examples/langsmith-evaluation.md).
167
+
156
168
### Streamlit web app
157
169
158
170
The repository also includes a Streamlit interface:
0 commit comments