Unlock complex question answering in LLMs with enhanced chain-of-thought reasoning and information-seeking capabilities.
The purpose of this project is to extend LLMs ability to answer more complex questions through chain-of-thought reasoning and information-seeking actions.
We are excited to release the initial version of AutoAgents, a proof-of-concept on what can be achieved with only well-written prompts. This is the initial step towards our first big milestone, releasing and open-sourcing the AutoAgents 7B model!
Come try out our Huggingface Space!
This project demonstrates LLMs capability to execute a complex user goal: understand a user's goal, generate a plan, use proper tools, and deliver a final result.
For simplicity, our first attempt starts with a Web Search Agent.
Ask your AutoAgent to do what a real person would do using the internet:
For example:
1. Recommend a kid friendly movie that is playing at a theater near Sunnyvale. Give me the showtimes and a link to purchase the tickets
2. What is the average age of the past three president when they took office
3. What is the mortgage rate right now and how does that compare to the past two years
HuggingFace Space demo using OpenAI modelsLINK- AutoAgents [7B] Model
- Initial Release:
- Finetune and release a 7B parameter fine-tuned search model
- Initial Release:
- AutoAgents Dataset
- A high-quality dataset for a diverse set of search scenarios (why quality and diversity?1)
- Reduce Model Inference Overhead
- Affordance Modeling 2
- Extend Support to Additional Tools
- Customizable Document Search set (e.g. personal documents)
- Support Multi-turn Dialogue
- Advanced Flow Control in Plan Execution
We are actively developing a few interesting things, check back here or follow us on Twitter for any new development.
If you are interested in any other problems, feel free to shoot us an issue.
This repo contains the entire code to run the search agent from your local browser. All you need is an OpenAI API key to begin.
To run the search agent locally:
- Clone the repo and change the directory
git clone https://github.com/AutoLLM/AutoAgents.git
cd AutoAgents
- Install the dependencies
pip install -r requirements.txt
- Install the
autoagents
package
pip install -e .
- Make sure you have your OpenAI API key set as an environment variable. Alternatively, you can also feed it through the input text-box on the sidebar.
export OPENAI_API_KEY=sk-xxxxxx
- Run the Streamlit app
streamlit run autoagents/agents/spaces/app.py
This should open a browser window where you can type your search query.