Update Langchain to 0.1 and migrate most components to CustomComponent (#1382)

This PR updates Langchain to 0.1.* and move components previously
created automatically to start using the CustomComponent framework.

This will improve maintainability and move Langflow to be closer to the
framework.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-01-31 17:43:18 -03:00 • committed by GitHub
commit e61e4ac51b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
81 changed files with 3194 additions and 2804 deletions

View file

@ -4,7 +4,7 @@ from langchain.llms.base import BaseLLM
from langchain.chains import LLMChain
from langchain.prompts import PromptTemplate
from langchain.schema import Document
from langchain.field_typing import NestedDict
from langflow.field_typing import NestedDict
import requests