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

Modeling a complex process with LCEL

Abierto
#1 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Jupyter Notebook
Estrellas
4
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.