MCPcopy Create free account

hub / github.com/Forethought-Technologies/AutoChain / types & classes

Types & classes68 in github.com/Forethought-Technologies/AutoChain

↓ 19 callersClassTool
Interface AutoChain tools must implement.
autochain/tools/base.py:15
↓ 17 callersClassChatOpenAI
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 callersClassTestCase
Standardized data class for each test case for BastTest
autochain/workflows_evaluation/base_test.py:20
↓ 14 callersClassUserMessage
Type of message that is spoken by the human.
autochain/agent/message.py:27
↓ 13 callersClassAgentFinish
Agent's return value.
autochain/agent/structs.py:38
↓ 10 callersClassChatMessageHistory
autochain/agent/message.py:71
↓ 9 callersClassLongTermMemory
Buffer for storing conversation memory and an in-memory kv store.
autochain/memory/long_term_memory.py:20
↓ 8 callersClassDummyEncoder
test_utils/pinecone_mocks.py:35
↓ 7 callersClassBufferMemory
Buffer for storing conversation memory and an in-memory kv store.
autochain/memory/buffer_memory.py:7
↓ 7 callersClassWorkflowTester
autochain/workflows_evaluation/base_test.py:45
↓ 5 callersClassAIMessage
Type of message that is spoken by the AI.
autochain/agent/message.py:38
↓ 5 callersClassAgentAction
Agent's action to take.
autochain/agent/structs.py:12
↓ 5 callersClassChain
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 callersClassChromaDBSearch
Use ChromaDB as internal search tool
autochain/tools/internal_search/chromadb_tool.py:20
↓ 4 callersClassLanceDBSeach
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 callersClassPineconeSearch
Use Pinecone as the internal search tool
autochain/tools/internal_search/pinecone_tool.py:20
↓ 4 callersClassSystemMessage
Type of message that is a system message.
autochain/agent/message.py:50
↓ 3 callersClassChromaDoc
autochain/tools/internal_search/chromadb_tool.py:14
↓ 3 callersClassHandOffToAgent
autochain/tools/simple_handoff/tool.py:6
↓ 2 callersClassConvoJSONOutputParser
autochain/agent/conversational_agent/output_parser.py:12
↓ 2 callersClassEmbeddingResult
autochain/models/base.py:44
↓ 2 callersClassFunctionMessage
Type of message that is a function message.
autochain/agent/message.py:59
↓ 2 callersClassGeneration
Output of a single generation.
autochain/models/base.py:22
↓ 2 callersClassJSONPromptTemplate
Format prompt with string Template and dictionary of variables
autochain/agent/prompt_formatter.py:9
↓ 2 callersClassLLMResult
Class that contains all relevant information for an LLM Result.
autochain/models/base.py:34
↓ 2 callersClassLanceDBDoc
autochain/tools/internal_search/lancedb_tool.py:12
↓ 2 callersClassPineconeDoc
autochain/tools/internal_search/pinecone_tool.py:14
↓ 2 callersClassRedisMemory
Store conversation info in redis memory.
autochain/memory/redis_memory.py:19
↓ 2 callersClassToolRunningError
Exception when tool fails to run
autochain/errors.py:13
↓ 1 callersClassConversationalAgent
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 callersClassCustomConvoOutputParser
autochain/workflows_evaluation/langchain_eval/custom_langchain_output_parser.py:9
↓ 1 callersClassGoogleSearchAPIWrapper
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 callersClassLangChainWrapperChain
Wrapper chain instantiate from LangChain's Chain object to match AutoChain interface
autochain/chain/langchain_wrapper_chain.py:12
↓ 1 callersClassMockIndex
test_utils/pinecone_mocks.py:11
↓ 1 callersClassOpenAIAdaEncoder
Text encoder using OpenAI Model
autochain/models/ada_embedding.py:13
↓ 1 callersClassOpenAIFunctionOutputParser
autochain/agent/openai_functions_agent/output_parser.py:12
↓ 1 callersClassTestFindFoodNearMe
autochain/workflows_evaluation/conversational_agent_eval/find_food_near_me_test.py:33
↓ 1 callersClassTestFindFoodNearMeWithFunctionCalling
autochain/workflows_evaluation/openai_function_agent_eval/find_food_near_me_test.py:37
↓ 1 callersClassTestFindFoodNearMeWithLC
autochain/workflows_evaluation/langchain_eval/find_food_near_me_test.py:35
↓ 1 callersClassTestGenerateAds
autochain/workflows_evaluation/conversational_agent_eval/generate_ads_test.py:32
↓ 1 callersClassTestGenerateAdsWithFunctionCalling
autochain/workflows_evaluation/openai_function_agent_eval/generate_ads_test.py:36
↓ 1 callersClassTestGenerateAdsWithLC
autochain/workflows_evaluation/langchain_eval/generate_ads_test.py:34
↓ 1 callersClassTestGetWeatherWithFunctionCalling
autochain/workflows_evaluation/openai_function_agent_eval/get_weather_test.py:26
Class
docs/js/termynal.js:14
ClassAgentOutputParser
autochain/agent/structs.py:53
ClassBaseAgent
autochain/agent/base_agent.py:15
ClassBaseChain
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
ClassBaseLanguageModel
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
ClassBaseMemory
Base interface for memory in chains.
autochain/memory/base.py:17
ClassBaseMessage
Message object.
autochain/agent/message.py:15
ClassBaseSearchTool
autochain/tools/internal_search/base_search_tool.py:7
ClassBaseTest
autochain/workflows_evaluation/base_test.py:28
ClassConfig
Configuration for this pydantic object.
autochain/tools/internal_search/lancedb_tool.py:29
ClassConfig
Configuration for this pydantic object.
autochain/tools/internal_search/chromadb_tool.py:28
ClassConfig
Configuration for this pydantic object.
autochain/tools/internal_search/base_search_tool.py:8
ClassConfig
Configuration for this pydantic object.
autochain/tools/google_search/util.py:54
ClassConfig
autochain/memory/long_term_memory.py:27
ClassConfig
Configuration for this pydantic object.
autochain/memory/redis_memory.py:26
ClassConfig
Configuration for this pydantic object.
autochain/models/huggingface_text_generation_model.py:65
ClassConfig
Configuration for this pydantic object.
autochain/models/base.py:83
ClassConfig
Configuration for this pydantic object.
autochain/models/chat_openai.py:163
ClassConfig
Configuration for this pydantic object.
autochain/agent/prompt_formatter.py:20
ClassGoogleSearchTool
Tool that has capability to query the Google Search API and get back json.
autochain/tools/google_search/tool.py:5
ClassHuggingFaceTextGenerationModel
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
ClassMessageType
autochain/agent/message.py:8
ClassOpenAIFunctionsAgent
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
ClassOutputParserException
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
ClassTermynal
Generate a terminal widget.
docs/js/termynal.js:14