Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example: Simple MoA Chatbot with langgraph, ollama and mesop #1

Merged
merged 10 commits into from
Jul 14, 2024

Conversation

sad-zero
Copy link
Owner

@sad-zero sad-zero commented Jul 14, 2024

I hope this will help others understand the MoA architecture.

Goal

  • Implement MoA Architecture with langgraph
  • Demonstrate MoA Chat with local model(Ollama) and mesop

Details

MoA Graph Overview

%%{init: {'flowchart': {'curve': 'linear'}}}%%
graph TD;
        __start__([__start__]):::first
        __end__([__end__]):::last
        entry(entry)
        proposer1(proposer1)
        proposer2(proposer2)
        proposer3(proposer3)
        asp_node(asp_node)
        aggregator(aggregator)
        __start__ --> entry;
        aggregator --> __end__;
        entry --> proposer1;
        entry --> proposer2;
        entry --> proposer3;
        proposer1 --> asp_node;
        proposer2 --> asp_node;
        proposer3 --> asp_node;
        asp_node -.-> entry;
        asp_node -.-> proposer1;
        asp_node -.-> proposer2;
        asp_node -.-> proposer3;
        asp_node -.-> aggregator;
        asp_node -.-> __end__;
        classDef default fill:#f2f0ff,line-height:1.2
        classDef first fill-opacity:0
        classDef last fill:#bfb6fc
Loading

Run demo

See README

@sad-zero sad-zero added the enhancement New feature or request label Jul 14, 2024
@sad-zero sad-zero self-assigned this Jul 14, 2024
@sad-zero sad-zero merged commit 3ec8c6f into main Jul 14, 2024
@sad-zero sad-zero deleted the feat/mesop_langgraph branch July 14, 2024 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant