unit-four-final-project / configuration.py
gperdrizet's picture
Downgraded to smolagents 1.18.0 and switched back to single codeagent - scored 20% on GAIA benchmark.
10c462d verified
raw
history blame
1.13 kB
"""
Configuration constants for the GAIA agent project.
Contains API URLs and agent instructions used throughout the application.
"""
# pylint: disable=line-too-long
# Which questions to answer
QUESTIONS = [1,3,5,8,9,11,13,17,18,20]
# GAIA benchmark scoring API
DEFAULT_API_URL = 'https://agents-course-unit4-scoring.hf.space'
# Additional instructions for agent. See here: https://huggingface.co/spaces/gaia-benchmark/leaderboard
INSTRUCTIONS = """
You are a general AI assistant. I will ask you a question. Your final answer should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise. If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise. If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string. Submit the final answer via the final_answer tool.
"""