Refactor import statements in constants.py
This commit is contained in:
parent
ead79e802d
commit
a62d0bbb6b
1 changed files with 4 additions and 2 deletions
|
|
@ -5,7 +5,8 @@ from langchain.chains.base import Chain
|
|||
from langchain.document_loaders.base import BaseLoader
|
||||
from langchain.llms.base import BaseLLM
|
||||
from langchain.memory.chat_memory import BaseChatMemory
|
||||
from langchain.prompts import BasePromptTemplate, ChatPromptTemplate, PromptTemplate
|
||||
from langchain.prompts import (BasePromptTemplate, ChatPromptTemplate,
|
||||
PromptTemplate)
|
||||
from langchain.schema import BaseOutputParser, BaseRetriever, Document
|
||||
from langchain.schema.embeddings import Embeddings
|
||||
from langchain.schema.language_model import BaseLanguageModel
|
||||
|
|
@ -25,7 +26,8 @@ class Object:
|
|||
class Data:
|
||||
pass
|
||||
|
||||
class Prompt
|
||||
class Prompt:
|
||||
pass
|
||||
|
||||
|
||||
LANGCHAIN_BASE_TYPES = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue