MCPcopy Create free account

hub / github.com/SqueezeAILab/LLMCompiler / types & classes

Types & classes38 in github.com/SqueezeAILab/LLMCompiler

↓ 9 callersClassTool
Tool that takes in function or coroutine directly.
src/tools/base.py:95
↓ 8 callersClassDocstoreExplorer
Class to assist with exploration of a document store.
src/docstore/wikipedia.py:229
↓ 6 callersClassReActWikipedia
Wrapper around wikipedia API.
src/docstore/wikipedia.py:22
↓ 4 callersClassLLMChain
Chain to run queries against LLMs. Example: .. code-block:: python from langchain import LLMChain, OpenAI, PromptTemplate
src/chains/llm_chain.py:38
↓ 2 callersClassAsyncStatsCallbackHandler
Collect useful stats about the run. Add more stats as needed.
src/callbacks/callbacks.py:44
↓ 2 callersClassExceptionTool
Tool that just returns the query.
src/executors/agent_executor.py:34
↓ 2 callersClassInvalidTool
Tool that is run when invalid tool name is encountered by agent.
src/agents/tools.py:12
↓ 1 callersClassLLMCompiler
LLMCompiler Engine.
src/llm_compiler/llm_compiler.py:43
↓ 1 callersClassLLMCompilerAgent
Self defined agent for LLM Compiler.
src/llm_compiler/llm_compiler.py:22
↓ 1 callersClassLLMCompilerCallback
src/llm_compiler/planner.py:146
↓ 1 callersClassLLMCompilerPlanParser
Planning output parser.
src/llm_compiler/output_parser.py:25
↓ 1 callersClassLogger
src/utils/logger_utils.py:11
↓ 1 callersClassMaxTransformer
src/chains/llm_math_chain.py:90
↓ 1 callersClassPlanner
src/llm_compiler/planner.py:190
↓ 1 callersClassReActOutputParser
Output parser for the ReAct agent.
src/react/output_parser.py:9
↓ 1 callersClassStatsCallbackHandler
Collect useful stats about the run. Add more stats as needed.
src/callbacks/callbacks.py:7
↓ 1 callersClassStreamingGraphParser
Streaming version of the GraphParser.
src/llm_compiler/planner.py:86
↓ 1 callersClassTask
src/llm_compiler/task_fetching_unit.py:42
↓ 1 callersClassTaskFetchingUnit
src/llm_compiler/task_fetching_unit.py:82
↓ 1 callersClassTimeContext
src/utils/time_utils.py:12
↓ 1 callersClassToolException
An optional exception that tool throws when execution error occurs. When this exception is thrown, the agent will not stop working, but will
src/tools/base.py:83
ClassAgent
Agent that calls the language model and deciding the action. This is driven by an LLMChain. The prompt in the LLMChain MUST include a variabl
src/agents/agent.py:40
ClassAgentExecutor
Agent that is using tools.
src/executors/agent_executor.py:57
ClassAgentOutputParser
Base class for parsing agent output into agent action/finish.
src/agents/agent.py:32
ClassAgentType
Enumerator with the Agent types.
src/agents/types.py:10
ClassChain
Abstract base class for creating structured sequences of calls to components. Chains should be used to encode a sequence of calls to components l
src/chains/chain.py:38
ClassConfig
Configuration for this pydantic object.
src/chains/chain.py:132
ClassConfig
Configuration for this pydantic object.
src/chains/llm_math_chain.py:153
ClassConfig
Configuration for this pydantic object.
src/chains/llm_chain.py:70
ClassLLMMathChain
Chain that interprets a prompt and executes python code to do math. Example: .. code-block:: python from langchain import LL
src/chains/llm_math_chain.py:135
ClassPlan
Plan.
src/executors/schema.py:11
ClassReActDocstoreAgentForWiki
Agent for the ReAct chain.
src/react/base.py:15
ClassSchemaAnnotationError
Raised when 'args_schema' is missing or has an incorrect type annotation.
src/tools/base.py:26
ClassStep
Step.
src/executors/schema.py:4
ClassStepResponse
Step response.
src/executors/schema.py:18
ClassStructuredChatAgent
Structured Chat Agent.
src/agents/structured_chat_agent.py:26
ClassStructuredTool
Tool that can operate on any number of inputs.
src/tools/base.py:225
Class_SchemaConfig
Configuration for the pydantic model.
src/tools/base.py:51