LLMCompiler
LLMCompiler
https://langchain-ai.github.io/langgraph/tutorials/llm-compiler/LLMCompiler/
LLMCompiler is an agent architecture designed to speed up the execution of agentic tasks by eagerly-executed tasks within a DAG. It also saves costs on redundant token usage by reducing the number of calls to the LLM. Below is an overview of its computational graph:
It has 3 main components:
- Planner: stream a DAG of tasks.
- Task Fetching Unit: schedules and executes the tasks as soon as they are executable
- Joiner: Responds to the user or triggers a second plan
This notebook walks through each component and shows how to wire them together using LangGraph. The end result will leave a trace like the following.
https://github.com/fanqingsong/llmcompiler
https://github.com/SqueezeAILab/LLMCompiler/tree/main
https://arxiv.org/abs/2312.04511
https://zhuanlan.zhihu.com/p/695299667
出处:http://www.cnblogs.com/lightsong/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接。


浙公网安备 33010602011771号