Files
autogen/website/docs/Examples.md
Qingyun Wu 3e33a2c410 New initiate_chats Interface for Managing Dependent Chats in ConversableAgent (#1402)
* add initiate_chats implementation and example

* update notebook

* improve takeaway method

* improve print

* improve print

* improve print

* improve print

* add tests

* minor changes

* format

* correct typo

* make prompt a parameter

* add takeaway method

* groupchat messages

* add SoM example

* fix typo

* fix SoM typo

* simplify chat function

* add carryover

* update notebook

* doc

* remove async for now

* remove condition on reply

* correct argument name

* add notebook in website

* format

* make get_chat_takeaway private

* rename takeaway method and add example

* removing SoM example for now

* carryover test

* add test

* takeaway_method

* update tests

* update notebook

* chats_queue

* add get_chat_takeaway

* delete

* add test

* Update autogen/agentchat/conversable_agent.py

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* docstr

* wording etc

* add chat res

* revise title

* update agent_utils

* unify the async method

* add todo about overriding

* attribute check

* ChatResult type

* revise test

* takeaway to summary

* cache and documentation

* Use cache in summarize chat; polish tests

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-02-06 18:29:15 +00:00

9.1 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 transition paths specified in a graph - View Notebook
    • Running a group chat as an inner-monolgue via the SocietyOfMindAgent - View Notebook
  3. Sequential Multi-Agent Chats

  4. 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
  5. 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
    • Browse the Web with Agents - View Notebook
    • SQL: Natural Language Text to SQL Query using the Spider Text-to-SQL Benchmark - View Notebook
  6. Human Involvement

  7. 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
    • Teach OpenAI Assistants Through GPTAssistantAgent - View Notebook
    • Agent Optimizer: Train Agents in an Agentic Way - View Notebook
  8. Multi-Agent Chat with OpenAI Assistants in the loop

  9. Multimodal Agent

  10. Long Context Handling

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

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

    • Automatically Build Multi-agent System with AgentBuilder - View Notebook
    • Automatically Build Multi-agent System from Agent Library - 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: