polyfact / simple-ai-agent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ€– Simple AI Agent

πŸ“° A very simple agent that can search on wikipedia and perform basic calculations πŸ“°

πŸš€ Getting started

To start the agent, clone the repository:

git clone https://github.com/polyfact/simple-ai-agent.git

Get your your polyfact token by signing up with github here: https://app.polyfact.com
Add your PolyFact Token in the POLYFACT_TOKEN environment variable:

export POLYFACT_TOKEN= # The token displayed on https://app.polyfact.com

You can now ask a question to the agent and see its reasoning by calling:

yarn start "Would getting a mole (unit) of moles (animal) in space in the volume of a cubic football field be enough to create a blackhole ? If not how much energy would it release by expanding ?"

πŸ§‘β€πŸ’» Contributing

This repository is just an example but of course you can still create issues or PR if you find a bug ! You can also contribute to the SDK or to the API !

About


Languages

Language:TypeScript 100.0%