autogen/website/docs/Examples.md
gagb a0288e081b
Add examples constrained generation + multi-step reasoning via Guidance + AutoGen (#937)
* Add examples of constrained generation

* Add guidance based coder that always returns valid code blocks

* Add guidance based agent that always generates a valid json

* Add link to guidance nb
2023-12-20 23:04:05 +00:00

8.2 KiB

Examples

Automated Multi Agent Chat

AutoGen offers conversable agents powered by LLM, tool or human, which can be used to perform tasks collectively via automated chat. This framework allows tool use and human participation via multi-agent conversation. Please find documentation about this feature here.

Links to notebook examples:

  1. Code Generation, Execution, and Debugging

    • Automated Task Solving with Code Generation, Execution & Debugging - View Notebook
    • Automated Code Generation and Question Answering with Retrieval Augmented Agents - View Notebook
    • Automated Code Generation and Question Answering with Qdrant based Retrieval Augmented Agents - View Notebook
  2. Multi-Agent Collaboration (>3 Agents)

    • Automated Task Solving by Group Chat (with 3 group member agents and 1 manager agent) - View Notebook
    • Automated Data Visualization by Group Chat (with 3 group member agents and 1 manager agent) - View Notebook
    • Automated Complex Task Solving by Group Chat (with 6 group member agents and 1 manager agent) - View Notebook
    • Automated Task Solving with Coding & Planning Agents - View Notebook
    • Automated Task Solving with agents divided into 2 groups - View Notebook
    • Automated Task Solving with transition paths specified in a graph - View Notebook
  3. Applications

    • Automated Chess Game Playing & Chitchatting by GPT-4 Agents - View Notebook
    • Automated Continual Learning from New Data - View Notebook
    • OptiGuide - Coding, Tool Using, Safeguarding & Question Answering for Supply Chain Optimization
  4. Tool Use

    • Web Search: Solve Tasks Requiring Web Info - View Notebook
    • Use Provided Tools as Functions - View Notebook
    • Use Tools via Sync and Async Function Calling - View Notebook
    • Task Solving with Langchain Provided Tools as Functions - View Notebook
    • RAG: Group Chat with Retrieval Augmented Generation (with 5 group member agents and 1 manager agent) - View Notebook
    • Function Inception: Enable AutoGen agents to update/remove functions during conversations. - View Notebook
    • Agent Chat with Whisper - View Notebook
    • Constrained Responses via Guidance - View Notebook
  5. Human Involvement

  6. Agent Teaching and Learning

    • Teach Agents New Skills & Reuse via Automated Chat - View Notebook
    • Teach Agents New Facts, User Preferences and Skills Beyond Coding - View Notebook
  7. Multi-Agent Chat with OpenAI Assistants in the loop

  8. Multimodal Agent

  9. Long Context Handling

    • Conversations with Chat History Compression Enabled - View Notebook
  10. Evaluation and Assessment

    • AgentEval: A Multi-Agent System for Assess Utility of LLM-powered Applications - View Notebook
  11. Automatic Agent Building

    • Automatically Build Multi-agent System with AgentBuilder - View Notebook

Enhanced Inferences

Utilities

Inference Hyperparameters Tuning

AutoGen offers a cost-effective hyperparameter optimization technique EcoOptiGen for tuning Large Language Models. The research study finds that tuning hyperparameters can significantly improve the utility of them. Please find documentation about this feature here.

Links to notebook examples: