Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SqueezeAILab/LLMCompiler
/ types & classes
Types & classes
38 in github.com/SqueezeAILab/LLMCompiler
⨍
Functions
245
◇
Types & classes
38
↓ 9 callers
Class
Tool
Tool that takes in function or coroutine directly.
src/tools/base.py:95
↓ 8 callers
Class
DocstoreExplorer
Class to assist with exploration of a document store.
src/docstore/wikipedia.py:229
↓ 6 callers
Class
ReActWikipedia
Wrapper around wikipedia API.
src/docstore/wikipedia.py:22
↓ 4 callers
Class
LLMChain
Chain to run queries against LLMs. Example: .. code-block:: python from langchain import LLMChain, OpenAI, PromptTemplate
src/chains/llm_chain.py:38
↓ 2 callers
Class
AsyncStatsCallbackHandler
Collect useful stats about the run. Add more stats as needed.
src/callbacks/callbacks.py:44
↓ 2 callers
Class
ExceptionTool
Tool that just returns the query.
src/executors/agent_executor.py:34
↓ 2 callers
Class
InvalidTool
Tool that is run when invalid tool name is encountered by agent.
src/agents/tools.py:12
↓ 1 callers
Class
LLMCompiler
LLMCompiler Engine.
src/llm_compiler/llm_compiler.py:43
↓ 1 callers
Class
LLMCompilerAgent
Self defined agent for LLM Compiler.
src/llm_compiler/llm_compiler.py:22
↓ 1 callers
Class
LLMCompilerCallback
src/llm_compiler/planner.py:146
↓ 1 callers
Class
LLMCompilerPlanParser
Planning output parser.
src/llm_compiler/output_parser.py:25
↓ 1 callers
Class
Logger
src/utils/logger_utils.py:11
↓ 1 callers
Class
MaxTransformer
src/chains/llm_math_chain.py:90
↓ 1 callers
Class
Planner
src/llm_compiler/planner.py:190
↓ 1 callers
Class
ReActOutputParser
Output parser for the ReAct agent.
src/react/output_parser.py:9
↓ 1 callers
Class
StatsCallbackHandler
Collect useful stats about the run. Add more stats as needed.
src/callbacks/callbacks.py:7
↓ 1 callers
Class
StreamingGraphParser
Streaming version of the GraphParser.
src/llm_compiler/planner.py:86
↓ 1 callers
Class
Task
src/llm_compiler/task_fetching_unit.py:42
↓ 1 callers
Class
TaskFetchingUnit
src/llm_compiler/task_fetching_unit.py:82
↓ 1 callers
Class
TimeContext
src/utils/time_utils.py:12
↓ 1 callers
Class
ToolException
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
Class
Agent
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
Class
AgentExecutor
Agent that is using tools.
src/executors/agent_executor.py:57
Class
AgentOutputParser
Base class for parsing agent output into agent action/finish.
src/agents/agent.py:32
Class
AgentType
Enumerator with the Agent types.
src/agents/types.py:10
Class
Chain
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
Class
Config
Configuration for this pydantic object.
src/chains/chain.py:132
Class
Config
Configuration for this pydantic object.
src/chains/llm_math_chain.py:153
Class
Config
Configuration for this pydantic object.
src/chains/llm_chain.py:70
Class
LLMMathChain
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
Class
Plan
Plan.
src/executors/schema.py:11
Class
ReActDocstoreAgentForWiki
Agent for the ReAct chain.
src/react/base.py:15
Class
SchemaAnnotationError
Raised when 'args_schema' is missing or has an incorrect type annotation.
src/tools/base.py:26
Class
Step
Step.
src/executors/schema.py:4
Class
StepResponse
Step response.
src/executors/schema.py:18
Class
StructuredChatAgent
Structured Chat Agent.
src/agents/structured_chat_agent.py:26
Class
StructuredTool
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