Update imports to use langchain_core.documents
This commit is contained in:
parent
7efa79af69
commit
c0c64c99c9
15 changed files with 36 additions and 31 deletions
|
|
@ -3,7 +3,7 @@ export const custom = `from langflow import CustomComponent
|
|||
from langchain.llms.base import BaseLLM
|
||||
from langchain.chains import LLMChain
|
||||
from langchain.prompts import PromptTemplate
|
||||
from langchain.schema import Document
|
||||
from langchain_core.documents import Document
|
||||
from langflow.field_typing import NestedDict
|
||||
|
||||
import requests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue