Created
May 28, 2023 09:40
-
-
Save ihower/26a480a923d00c7ba2896d197bb3423e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'pycall' | |
module LangChain | |
ChatModels = PyCall.import_module("langchain.chat_models") | |
LLMs = PyCall.import_module("langchain.llms") | |
Embeddings = PyCall.import_module("langchain.embeddings") | |
DocumentLoaders = PyCall.import_module("langchain.document_loaders") | |
TextSplitter = PyCall.import_module("langchain.text_splitter") | |
VectorStores = PyCall.import_module("langchain.vectorstores") | |
Chains = PyCall.import_module("langchain.chains") | |
Agents = PyCall.import_module("langchain.agents") | |
Schema = PyCall.import_module("langchain.schema") | |
Prompts = PyCall.import_module("langchain.prompts") | |
Memory = PyCall.import_module("langchain.memory") | |
Callbacks = PyCall.import_module("langchain.callbacks") | |
Retrievers = PyCall.import_module("langchain.retrievers") | |
Tools = PyCall.import_module("langchain.tools") | |
Utilities = PyCall.import_module("langchain.utilities") | |
Indexes = PyCall.import_module("langchain.indexes") | |
Docstore = PyCall.import_module("langchain.docstore") | |
OutputParsers = PyCall.import_module("langchain.output_parsers") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment