Azure-Samples / ai-rag-chat-evaluator

Tools for evaluation of RAG Chat Apps using Azure AI Evaluate SDK and OpenAI
MIT License
163 stars 59 forks source link

Missing option '--numquestions' #37

Closed KorbinianBraun4ntt closed 5 months ago

KorbinianBraun4ntt commented 5 months ago

This issue is for a:

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

run evaluation on all test data: python3 -m scripts evaluate --config=example_config.json

Any log messages given by the failure

vscode ➜ /workspaces/ai-rag-chat-evaluator (main) $ python3 -m scripts evaluate --config=example_config.json Usage: python -m scripts evaluate [OPTIONS] Try 'python -m scripts evaluate --help' for help. Error --> Missing option '--numquestions'.

Expected/desired behavior

No Error: Should perform evaluation on all records provided in the qa.jsonl !

OS and Version?

Windows 10

Mention any other details that might be useful

Evaluation works if the number of questions is provided '--numquestions='

sofyan-ajridi-ey commented 5 months ago

Can confirm, have the same issue on my end

pamelafox commented 5 months ago

Thanks so much for the report! I've merged a fix in https://github.com/Azure-Samples/ai-rag-chat-evaluator/pull/39

KorbinianBraun4ntt commented 5 months ago

Thank you very much for quick fix as always. 😊👍