Commit graph

7,638 commits

Author SHA1 Message Date
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
anovazzi1
bb42c773f2 Fix formatting issues in GenericNode and useFlowStore 2024-01-24 17:34:18 -03:00
anovazzi1
5f0cd43ec5 Refactor buildVertices function to use flowId instead of flow object 2024-01-24 17:17:55 -03:00
Lucas Oliveira
7c28f0e7cb cannot find name div fixed 2024-01-24 19:23:32 +01:00
Lucas Oliveira
97950aab6e fixed pinned appearing without it being pinned, and added tooltip 2024-01-24 19:22:16 +01:00
anovazzi1
8f5cb0998d fix(chatComponent): rename checkInputAndOutput to hasIO for better semantics
fix(chatComponent): replace checkInputAndOutput with hasIO in relevant places
fix(flowStore): remove checkInputAndOutput function and replace it with hasIO property
fix(flowStore): update inputIds, outputIds, inputTypes, and outputTypes when resetting or setting nodes to reflect changes in inputs and outputs
fix(flowStore): update hasIO property based on the presence of inputs and outputs in nodes
fix(flowStore): remove getOutputs and getInputs functions and replace them with getInputsAndOutputs utility function
fix(flowStore): update inputIds, outputIds, inputTypes, and outputTypes when resetting or setting nodes to reflect changes in inputs and outputs
fix(flowStore): update hasIO property based on the presence of inputs and outputs in nodes
fix(flowStore): remove getOutputs and getInputs functions and replace them with getInputsAndOutputs utility function
fix(flowStore): remove unused imports in flowStore type definition file
2024-01-24 15:21:31 -03:00
anovazzi1
f9fa47b60f Merge branch 'dev' into zustand/io/migration 2024-01-24 15:01:57 -03:00
anovazzi1
7352ec9a16 Fix pinning issue and improve code structure 2024-01-24 15:00:49 -03:00
anovazzi1
44d15c5582 Refactor flowStore and add getInputs and getOutputs functions 2024-01-24 15:00:14 -03:00
Lucas Oliveira
16e959b639 Fixed not saving on drop 2024-01-24 18:57:47 +01:00
Lucas Oliveira
32d98c9b85 Fixed pinned attribute 2024-01-24 17:25:57 +01:00
Lucas Oliveira
020f43b9f6 Added pinned property on node 2024-01-24 17:25:04 +01:00
Lucas Oliveira
e54e17ae36 Added animation into config 2024-01-24 16:59:27 +01:00
igorrCarvalho
abe41b2aef Fix: Make chat trigger appear again and Change build position 2024-01-23 20:31:57 -03:00
igorrCarvalho
f075104f8a Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-01-23 18:45:11 -03:00
igorrCarvalho
e90fdd00e7 Refactor: Remove isBuilt from zustand store 2024-01-23 18:45:01 -03:00
anovazzi1
30ecc997c9 Refactor BuildTrigger component imports and remove unused code 2024-01-23 18:43:10 -03:00
anovazzi1
fccbbc8b1d Add last_tested_version field to FlowType 2024-01-23 18:42:35 -03:00
igorrCarvalho
45d7945cd3 Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-01-23 18:34:08 -03:00
igorrCarvalho
2948bdd58c Refactor: Remove SSE from zustand store 2024-01-23 18:33:26 -03:00
anovazzi1
14be74049c refactor(chatComponent): remove unused import and variable
feat(chatComponent): add dynamic rendering of BuildTrigger component based on checkInputAndOutput value
fix(chatComponent): update showTrigger state when nodes change to reflect changes in checkInputAndOutput value
2024-01-23 18:11:28 -03:00
igorrCarvalho
8ac985e6e3 Feat: bring back io sidebar color 2024-01-23 18:02:09 -03:00
anovazzi1
a755c8f44d Refactor flowStore and flowIOStore 2024-01-23 17:57:27 -03:00
igorrCarvalho
2b62f903a3 Feat: bring back IO image and name on sidebar 2024-01-23 17:37:48 -03:00
anovazzi1
0a26bc52bf Refactor IOView component to use new state management 2024-01-23 16:24:06 -03:00
anovazzi1
7c6b220ecd Add pinned property to APIClassType 2024-01-23 16:10:34 -03:00