Skip to content

Complex question answering in LLMs with enhanced reasoning and information-seeking capabilities.

License

Notifications You must be signed in to change notification settings

AutoLLM/AutoAgents

Repository files navigation

AutoAgents

Unlock complex question answering in LLMs with enhanced chain-of-thought reasoning and information-seeking capabilities.

👉 Overview

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!

🤖 The AutoAgents Project

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.

💫 How it works:

📔 Examples

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

💁 Roadmap

  • HuggingFace Space demo using OpenAI models LINK
  • AutoAgents [7B] Model
    • Initial Release:
      • Finetune and release a 7B parameter fine-tuned search model
  • 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.

🧭 How to use this repo?

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:

  1. Clone the repo and change the directory
git clone https://github.com/AutoLLM/AutoAgents.git
cd AutoAgents
  1. Install the dependencies
pip install -r requirements.txt
  1. Install the autoagents package
pip install -e .
  1. 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
  1. Run the Streamlit app
streamlit run autoagents/agents/spaces/app.py

This should open a browser window where you can type your search query.

About

Complex question answering in LLMs with enhanced reasoning and information-seeking capabilities.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published