Download tests/test_functions.py from InvestmentResearchAI/LLM-ADE-dev: direct link, hf CLI and curl.
- Browser
- Download file 314 Bytes
-
https://huggingface.co/spaces/InvestmentResearchAI/LLM-ADE-dev/resolve/80098abb952ceb2e8494b94e2edd0ab0214535e7/tests/test_functions.py
- Command line
-
hf download hf://spaces/InvestmentResearchAI/LLM-ADE-dev@80098abb952ceb2e8494b94e2edd0ab0214535e7/tests/test_functions.py
-
curl -L -o test_functions.py https://huggingface.co/spaces/InvestmentResearchAI/LLM-ADE-dev/resolve/80098abb952ceb2e8494b94e2edd0ab0214535e7/tests/test_functions.py
314 Bytes
| # Tests the functions themselves, not the function calling | |
| from pprint import pprint | |
| from functions import get_analysis | |
| def test_get_analysis(): | |
| query = "How is MSTR doing?" | |
| output = get_analysis(query) | |
| pprint(output) | |
| assert len(output) != 0 | |
| assert "MSTR" in output[0]['securities'] | |