Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Forethought-Technologies/AutoChain
/ types & classes
Types & classes
68 in github.com/Forethought-Technologies/AutoChain
⨍
Functions
232
◇
Types & classes
68
↓ 19 callers
Class
Tool
Interface AutoChain tools must implement.
autochain/tools/base.py:15
↓ 17 callers
Class
ChatOpenAI
Wrapper around OpenAI Chat large language models. To use, you should have the ``openai`` python package installed, and the environment variab
autochain/models/chat_openai.py:118
↓ 16 callers
Class
TestCase
Standardized data class for each test case for BastTest
autochain/workflows_evaluation/base_test.py:20
↓ 14 callers
Class
UserMessage
Type of message that is spoken by the human.
autochain/agent/message.py:27
↓ 13 callers
Class
AgentFinish
Agent's return value.
autochain/agent/structs.py:38
↓ 10 callers
Class
ChatMessageHistory
autochain/agent/message.py:71
↓ 9 callers
Class
LongTermMemory
Buffer for storing conversation memory and an in-memory kv store.
autochain/memory/long_term_memory.py:20
↓ 8 callers
Class
DummyEncoder
test_utils/pinecone_mocks.py:35
↓ 7 callers
Class
BufferMemory
Buffer for storing conversation memory and an in-memory kv store.
autochain/memory/buffer_memory.py:7
↓ 7 callers
Class
WorkflowTester
autochain/workflows_evaluation/base_test.py:45
↓ 5 callers
Class
AIMessage
Type of message that is spoken by the AI.
autochain/agent/message.py:38
↓ 5 callers
Class
AgentAction
Agent's action to take.
autochain/agent/structs.py:12
↓ 5 callers
Class
Chain
Default chain with take_next_step implemented It handles a few common error cases with agent, such as taking repeated action with same in
autochain/chain/chain.py:14
↓ 4 callers
Class
ChromaDBSearch
Use ChromaDB as internal search tool
autochain/tools/internal_search/chromadb_tool.py:20
↓ 4 callers
Class
LanceDBSeach
Use LanceDB as the internal search tool LanceDB is a vector database that supports vector search. Args: uri: the uri of the dat
autochain/tools/internal_search/lancedb_tool.py:16
↓ 4 callers
Class
PineconeSearch
Use Pinecone as the internal search tool
autochain/tools/internal_search/pinecone_tool.py:20
↓ 4 callers
Class
SystemMessage
Type of message that is a system message.
autochain/agent/message.py:50
↓ 3 callers
Class
ChromaDoc
autochain/tools/internal_search/chromadb_tool.py:14
↓ 3 callers
Class
HandOffToAgent
autochain/tools/simple_handoff/tool.py:6
↓ 2 callers
Class
ConvoJSONOutputParser
autochain/agent/conversational_agent/output_parser.py:12
↓ 2 callers
Class
EmbeddingResult
autochain/models/base.py:44
↓ 2 callers
Class
FunctionMessage
Type of message that is a function message.
autochain/agent/message.py:59
↓ 2 callers
Class
Generation
Output of a single generation.
autochain/models/base.py:22
↓ 2 callers
Class
JSONPromptTemplate
Format prompt with string Template and dictionary of variables
autochain/agent/prompt_formatter.py:9
↓ 2 callers
Class
LLMResult
Class that contains all relevant information for an LLM Result.
autochain/models/base.py:34
↓ 2 callers
Class
LanceDBDoc
autochain/tools/internal_search/lancedb_tool.py:12
↓ 2 callers
Class
PineconeDoc
autochain/tools/internal_search/pinecone_tool.py:14
↓ 2 callers
Class
RedisMemory
Store conversation info in redis memory.
autochain/memory/redis_memory.py:19
↓ 2 callers
Class
ToolRunningError
Exception when tool fails to run
autochain/errors.py:13
↓ 1 callers
Class
ConversationalAgent
Conversational agent who can use tools available to make a conversation by following the conversational planning prompt
autochain/agent/conversational_agent/conversational_agent.py:27
↓ 1 callers
Class
CustomConvoOutputParser
autochain/workflows_evaluation/langchain_eval/custom_langchain_output_parser.py:9
↓ 1 callers
Class
GoogleSearchAPIWrapper
Wrapper for Google Search API. Adapted from: Instructions adapted from https://stackoverflow.com/questions/ 37083058/ programmatically-se
autochain/tools/google_search/util.py:9
↓ 1 callers
Class
LangChainWrapperChain
Wrapper chain instantiate from LangChain's Chain object to match AutoChain interface
autochain/chain/langchain_wrapper_chain.py:12
↓ 1 callers
Class
MockIndex
test_utils/pinecone_mocks.py:11
↓ 1 callers
Class
OpenAIAdaEncoder
Text encoder using OpenAI Model
autochain/models/ada_embedding.py:13
↓ 1 callers
Class
OpenAIFunctionOutputParser
autochain/agent/openai_functions_agent/output_parser.py:12
↓ 1 callers
Class
TestFindFoodNearMe
autochain/workflows_evaluation/conversational_agent_eval/find_food_near_me_test.py:33
↓ 1 callers
Class
TestFindFoodNearMeWithFunctionCalling
autochain/workflows_evaluation/openai_function_agent_eval/find_food_near_me_test.py:37
↓ 1 callers
Class
TestFindFoodNearMeWithLC
autochain/workflows_evaluation/langchain_eval/find_food_near_me_test.py:35
↓ 1 callers
Class
TestGenerateAds
autochain/workflows_evaluation/conversational_agent_eval/generate_ads_test.py:32
↓ 1 callers
Class
TestGenerateAdsWithFunctionCalling
autochain/workflows_evaluation/openai_function_agent_eval/generate_ads_test.py:36
↓ 1 callers
Class
TestGenerateAdsWithLC
autochain/workflows_evaluation/langchain_eval/generate_ads_test.py:34
↓ 1 callers
Class
TestGetWeatherWithFunctionCalling
autochain/workflows_evaluation/openai_function_agent_eval/get_weather_test.py:26
Class
docs/js/termynal.js:14
Class
AgentOutputParser
autochain/agent/structs.py:53
Class
BaseAgent
autochain/agent/base_agent.py:15
Class
BaseChain
Base interface that all chains should implement. Chain will standardize inputs and outputs, the main entry pointy is the run function.
autochain/chain/base_chain.py:21
Class
BaseLanguageModel
Wrapper around OpenAI Chat large language models. To use, you should have the ``openai`` python package installed, and the environment variab
autochain/models/base.py:49
Class
BaseMemory
Base interface for memory in chains.
autochain/memory/base.py:17
Class
BaseMessage
Message object.
autochain/agent/message.py:15
Class
BaseSearchTool
autochain/tools/internal_search/base_search_tool.py:7
Class
BaseTest
autochain/workflows_evaluation/base_test.py:28
Class
Config
Configuration for this pydantic object.
autochain/tools/internal_search/lancedb_tool.py:29
Class
Config
Configuration for this pydantic object.
autochain/tools/internal_search/chromadb_tool.py:28
Class
Config
Configuration for this pydantic object.
autochain/tools/internal_search/base_search_tool.py:8
Class
Config
Configuration for this pydantic object.
autochain/tools/google_search/util.py:54
Class
Config
autochain/memory/long_term_memory.py:27
Class
Config
Configuration for this pydantic object.
autochain/memory/redis_memory.py:26
Class
Config
Configuration for this pydantic object.
autochain/models/huggingface_text_generation_model.py:65
Class
Config
Configuration for this pydantic object.
autochain/models/base.py:83
Class
Config
Configuration for this pydantic object.
autochain/models/chat_openai.py:163
Class
Config
Configuration for this pydantic object.
autochain/agent/prompt_formatter.py:20
Class
GoogleSearchTool
Tool that has capability to query the Google Search API and get back json.
autochain/tools/google_search/tool.py:5
Class
HuggingFaceTextGenerationModel
Huggingface model that supports text-generation task Example: .. code-block:: python from autochain.models.huggingface_text_generati
autochain/models/huggingface_text_generation_model.py:25
Class
MessageType
autochain/agent/message.py:8
Class
OpenAIFunctionsAgent
Agent supports function calling natively in OpenAI, which leverage function message to determine which tool should be used When tool is n
autochain/agent/openai_functions_agent/openai_functions_agent.py:22
Class
OutputParserException
Exception that output parsers should raise to signify a parsing error. This exists to differentiate parsing errors from other code or execution e
autochain/errors.py:1
Class
Termynal
Generate a terminal widget.
docs/js/termynal.js:14