Commit graph

5,913 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
174cd37a2b Refactor chatInput component to use Popover for repetitions input 2024-01-26 17:08:44 -03:00
Gabriel Luiz Freitas Almeida
7eac47f4c8 Add support for message conversion in ChatOutputResponse class 2024-01-26 17:08:10 -03:00
Gabriel Luiz Freitas Almeida
5277798cca Refactor Vertex class to make _run method asynchronous 2024-01-26 17:07:07 -03:00
Gabriel Luiz Freitas Almeida
20d9e51208 Change honor method to be asynchronous in ContractEdge 2024-01-26 17:06:16 -03:00
anovazzi1
b9b3ef88fe Refactor buildVertices function 2024-01-26 16:07:30 -03:00
Lucas Oliveira
e606762e7f UI design of button and repeat function 2024-01-26 19:51:41 +01:00
anovazzi1
69b1c3714b Update IOInputField and IOFileInput components 2024-01-26 15:46:09 -03:00
anovazzi1
07cbd593eb Add IOFileInput component to IOInputField 2024-01-26 15:31:21 -03:00
Gabriel Luiz Freitas Almeida
a5f91da7d4 Update cookie settings in login.py 2024-01-26 15:17:30 -03:00
anovazzi1
870204eb40 Refactor IOInputField and IOView components 2024-01-26 15:12:02 -03:00
cristhianzl
6c36fcec18 fix(newChatView): remove unnecessary dependencies in useEffect hooks to improve performance and prevent unnecessary re-renders 2024-01-26 15:06:01 -03:00
anovazzi1
ff112cfd34 Add file input component to IOInputField and update IOView to use new input structure 2024-01-26 14:52:00 -03:00
anovazzi1
fbcd2ea4a4 Refactor IOInputField component to handle different input types 2024-01-26 14:32:48 -03:00
anovazzi1
4af5aa56c2 chore(IOInputField): rename onChange prop to updateValue for better semantics
chore(IOInputField): remove styleClasses and placeholder props as they are not used
chore(IOView): remove TODO comment for extending and improving view mode and adding other types of views
chore(IOView): remove unused onChange prop from IOInputProps type
2024-01-26 14:23:39 -03:00
Gabriel Luiz Freitas Almeida
e011d1f6dc Refactor import order and remove unnecessary samesite attribute in set_cookie() calls 2024-01-26 14:08:38 -03:00
Gabriel Luiz Freitas Almeida
01fef3733b Add unique constraints and new fixes 2024-01-26 13:37:00 -03:00
igorrCarvalho
fc1614c7c1 Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-01-26 10:56:04 -03:00
igorrCarvalho
61ecc66e1f Feat: Add support to another input types on IO 2024-01-26 10:55:54 -03:00
Gabriel Luiz Freitas Almeida
537747951a Fix return value for power components in Vertex class 2024-01-26 09:56:36 -03:00
Gabriel Luiz Freitas Almeida
8d55bd2505 Fix missing semicolon and remove unnecessary commas in newChatView and FlowStoreType 2024-01-26 09:46:03 -03:00
Gabriel Luiz Freitas Almeida
dbf0a2a920 Refactor code and fix minor issues 2024-01-26 09:45:33 -03:00
Gabriel Luiz Freitas Almeida
ea47b44ac7 Refactor model_dump method in ChatVertex 2024-01-26 09:44:40 -03:00
Gabriel Luiz Freitas Almeida
53844a5963 Delete ZeroShotAgent and CombineDocsChain components 2024-01-25 21:19:19 -03:00
Gabriel Luiz Freitas Almeida
5cf56ca7a8 Fix import errors and type annotations 2024-01-25 21:15:28 -03:00
Gabriel Luiz Freitas Almeida
d258e0faea Refactor OllamaLLM constructor parameters 2024-01-25 19:53:51 -03:00
Gabriel Luiz Freitas Almeida
fccf3eeb25 Fix session loading issues in test cases 2024-01-25 19:44:33 -03:00
anovazzi1
d43d9d3760 Update JsonAgent and ZeroShotAgent components 2024-01-25 19:14:58 -03:00
anovazzi1
fa4a01caed chore(RetrievalQAWithSourcesChain.py): reorder imports to improve readability and maintain consistency
chore(AZLyricsLoader.py): reorder imports to improve readability and maintain consistency

chore(AirbyteJSONLoader.py): reorder imports to improve readability and maintain consistency

chore(CoNLLULoader.py): add import for List from typing module to fix type hinting

chore(CollegeConfidentialLoader.py): add import for List from typing module to fix type hinting

chore(EverNoteLoader.py): reorder imports to improve readability and maintain consistency

chore(FacebookChatLoader.py): add import for List from typing module to fix type hinting

chore(GitbookLoader.py): reorder imports to improve readability and maintain consistency

chore(HNLoader.py): add import for List from typing module to fix type hinting

chore(IMSDbLoader.py): add import for List from typing module to fix type hinting

chore(TextLoader.py): reorder imports to improve readability and maintain consistency

chore(CohereEmbeddings.py): change default value of cohere_api_key parameter to an empty string

chore(OpenAIEmbeddings.py): change default values of allowed_special, disallowed_special, chunk_size, embedding_ctx_length, max_retries, show_progress_bar, skip_empty, and tikToken_enable parameters to their respective types
2024-01-25 19:11:06 -03:00
anovazzi1
8bff60d2f2 feat(llms): Add support for using SecretStr from pydantic to store sensitive API keys securely
feat(llms): Add support for using process.env.PORT environment variable to configure server port

fix(llms): Fix incorrect default value for model_kwargs parameter in AnthropicComponent

fix(llms): Fix incorrect default value for model_kwargs parameter in ChatAnthropicComponent

fix(llms): Fix incorrect default value for model_kwargs parameter in ChatOpenAIComponent

fix(llms): Fix incorrect default value for model_kwargs parameter in ChatVertexAIComponent

fix(llms): Fix incorrect default value for model_kwargs parameter in CohereComponent

fix(llms): Fix incorrect default value for model_kwargs parameter in LlamaCppComponent

fix(llms): Fix incorrect default value for model_kwargs parameter in VertexAIComponent

fix(utilities): Fix incorrect default value for k parameter in BingSearchAPIWrapperComponent

fix(vectorstores): Fix missing required documents parameter in FAISSComponent

fix(vectorstores): Fix missing required documents parameter in PineconeComponent

fix(vectorstores): Fix missing required documents parameter in QdrantComponent
2024-01-25 18:54:01 -03:00
Gabriel Luiz Freitas Almeida
e8fded882e Add custom component and output parser creators to graph constants 2024-01-25 17:15:12 -03:00
anovazzi1
9c06b16eb3 Fix default value for k parameter and add default value for searx_host parameter 2024-01-25 16:40:58 -03:00
Gabriel Luiz Freitas Almeida
8a3aaa2c98 Refactor Vertex class initialization 2024-01-25 16:15:44 -03:00
Gabriel Luiz Freitas Almeida
4e5181307f Add logger import and update edge type in Graph class 2024-01-25 16:15:34 -03:00
Gabriel Luiz Freitas Almeida
952f8d39e5 Add extra base class and modify field formatting in ChainFrontendNode 2024-01-25 15:14:46 -03:00
anovazzi1
ce39b75c37 fix(components): fix import statement in UnstructuredWordDocumentLoader.py to use langflow instead of langchain
fix(vectorstores): change optional List[Document] parameters to required List[Document] in FAISS.py, Pinecone.py, Qdrant.py, and SupabaseVectorStore.py to improve consistency and avoid potential NoneType errors
2024-01-25 14:51:28 -03:00
Gabriel Luiz Freitas Almeida
dc56daebc8 Delete Flow model and related classes 2024-01-25 13:05:48 -03:00
Gabriel Luiz Freitas Almeida
47397153f4 Add new schemas and vertex type for CustomComponent 2024-01-25 13:03:29 -03:00
Gabriel Luiz Freitas Almeida
ec8679015b Fix issue with artifacts in PromptVertex 2024-01-25 12:46:44 -03:00
Gabriel Luiz Freitas Almeida
97eb790653 Refactor get_vertex_edges method to return a list of Union[Edge, ContractEdge] 2024-01-25 12:43:52 -03:00
igorrCarvalho
ec7a5725ff Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-01-25 12:08:30 -03:00
igorrCarvalho
53629398b4 Refactor: Change inputTypes and outputTypes to a only object array 2024-01-25 12:08:16 -03:00
Gabriel Luiz Freitas Almeida
7f0c4e8413 Refactor LLMChainComponent imports 2024-01-25 11:44:33 -03:00
Gabriel Luiz Freitas Almeida
367eadd6e2 Add model_config to SQLModelSerializable 2024-01-25 11:44:09 -03:00
Gabriel Luiz Freitas Almeida
0fa85687f1 Refactor layered_topological_sort method in Graph class 2024-01-25 11:43:27 -03:00
Gabriel Luiz Freitas Almeida
ad25be1815 Add logger import and update input_types in add_new_variables_to_template function 2024-01-25 11:43:14 -03:00
Gabriel Luiz Freitas Almeida
94aa8aff59 Refactor ChatService dependencies 2024-01-25 11:43:07 -03:00
Gabriel Luiz Freitas Almeida
db9665f01a Fix import and error handling in get_vertices function 2024-01-25 11:42:53 -03:00
Gabriel Luiz Freitas Almeida
a3cc0c7fa6 Fix imports and formatting issues 2024-01-24 19:57:58 -03:00
Gabriel Luiz Freitas Almeida
87d2db11ac Merge remote-tracking branch 'origin/dev' into update_lc 2024-01-24 19:22:22 -03:00
anovazzi1
9cd43802cb Add buildFlow function to BuildTrigger component 2024-01-24 17:44:07 -03:00