AIAnytime / AIAnytime/Intro-to-LangChain-Expression-Language

Modeling a complex process with LCEL

Aberta
#1 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Jupyter Notebook
Estrelas
4
Forks
1
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Thank you for your tremendous work! Maybe you could give me a hint how to achieve such process usinc LCEL:
```
1. User message as an input.
2. Message type classification [General, Action request].
2.1. If General -> forward the query to a React agent with basic tools and chat memory.
2.2. If Action request -> summarize the request with a parsed output chain -> forward the output to another chain along with a retrieved context for action execution (e.g. execute some arbitrary python code, clean up a desktop, call some API etc.).
```

I can't use a simple react agent with plenty of tools for that, because without the classification and summarization step, agent fails to understand what to do. I must distinguish some basic stuff from the complex, dedicated stuff which may involve many steps to execute properly. Ofc, I could have two or more agents and determine which to ask in the beginning, but it's not what I want to achieve.

Thank you!

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.