Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polyfact/simple-ai-agent
https://github.com/polyfact/simple-ai-agent
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/polyfact/simple-ai-agent
- Owner: polyfact
- Created: 2023-07-28T09:28:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-28T16:22:16.000Z (over 1 year ago)
- Last Synced: 2024-07-15T07:18:11.735Z (4 months ago)
- Language: TypeScript
- Size: 113 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🤖 Simple AI Agent
Made using PolyFact📰 A very simple agent that can search on wikipedia and perform basic calculations 📰
## 🚀 Getting started
To start the agent, clone the repository:
```bash
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:```bash
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:
```bash
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](https://github.com/polyfact/polyfact-node) or to the [API](https://github.com/polyfact/polyfact-api-go) !