Skip to content

ScriptingShrimp/cai-webagent

Repository files navigation

cai-webagent

Using pyenv package to set

$ python --version
Python 3.12.2

prod dependencies:

cp ./env_example ./env
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements_lock.txt

dev env:

cp ./env_example ./env
python3 -m venv .venv
source .venv/bin/activate
pip install -U crewai duckduckgo-search langchain_community

freeze packages

pip freeze > requirements_lock.txt

run:

python sk_presidential_votes.py

example outputs:

Thought: I now know the final answer
Final Answer:
- Latest presidential votes in Slovakia: Peter Pellegrini secured 53.26% of the vote, while pro-Western opposition candidate Ivan Korcok garnered 46.73%. Voting districts covered were 99.66%.
- Timeline: April 6, 2024.
- Key trends: The election results highlighted divisions over the Ukraine war and the starkly opposing views for the post.
- Impacts on future politics: Pellegrini's victory strengthened the grip of Russia-friendly political forces in Central Europe.
Thought: I now know the latest news about presidential votes in Slovakia.
Final Answer:
- Presidential elections were held on April 6, 2024 in Slovakia.
- Voters strengthened the grip of Russia-friendly political forces by handing victory to Peter Pellegrini.
- The Ukraine war was a dominant issue during the run-off vote.
- Divisions over the Ukraine war dominated the run-off vote, as it directly impacts the post of the president in Central Europe.
- The latest presidential votes in Slovakia saw Peter Pellegrini secure 53.26% of the vote, while pro-Western opposition candidate Ivan Korcok garnered 46.73%.
- Voters in Slovakia on Saturday strengthened the grip of Russia-friendly political forces in Central Europe.
- The election was closely contested with a focus on divisions over the Ukraine war and the opposing views held by the candidates for the post.
- Peter Pellegrini's victory in the presidential election is seen as further strengthening his close alliance with populist prime minister Robert Fico.

TODO:

  • agent: python executor and file writer
  • tools: hiearchical folder structure with annotations
  • agent: tool picker from /tools folder based on use case eval

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages