Commit graph

7,704 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
4b697fc0df Remove vectorstore_creator import and test_vectorstore_template.py 2024-01-30 14:03:33 -03:00
Gabriel Luiz Freitas Almeida
4918f03032 Remove test_agents_template.py and update test_zero_shot_agent, test_json_agent, and test_csv_agent 2024-01-30 11:53:21 -03:00
Gabriel Luiz Freitas Almeida
09354748cd Update Pinecone.py to remove default value for "embedding" configuration 2024-01-30 09:16:38 -03:00
Gabriel Luiz Freitas Almeida
05588767e8 Refactor PineconeComponent in Pinecone.py 2024-01-30 09:16:04 -03:00
Gabriel Luiz Freitas Almeida
910c55fa0c Update langchain version to 0.1.0 2024-01-30 09:00:32 -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
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
anovazzi1
9c06b16eb3 Fix default value for k parameter and add default value for searx_host parameter 2024-01-25 16:40:58 -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
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
Lucas Oliveira
16e959b639 Fixed not saving on drop 2024-01-24 18:57:47 +01:00
Gabriel Luiz Freitas Almeida
cc31658a37
flow state refactor (#1358)
this pull request refactors the flow state preventing bugs and
unexpected behaviours
2024-01-19 15:33:30 -03:00
Gabriel Luiz Freitas Almeida
8c523b35d7
Merge branch 'dev' into cz/bug/state/zustand 2024-01-18 21:33:40 -03:00
Gabriel Luiz Freitas Almeida
6fc5811697
Update AzureChatOpenAI.py (#1356)
Add API Supported versions - 2023-09-01-preview
2024-01-18 21:31:20 -03:00
anovazzi1
fd25788a9b fix(codeTabsComponent): set readonly prop to true for CodeAreaComponent to prevent editing when node template field is dynamic 2024-01-18 18:50:57 -03:00
anovazzi1
77d5e839b0 Update version number in pyproject.toml 2024-01-18 18:28:05 -03:00
cristhianzl
0f0488e59a fix(parameterComponent): update id and data-testid for textarea component to use the name of the parameter instead of index
fix(EditNodeModal): update id and data-testid for textarea component to use the name of the template parameter instead of index
fix(promptModalComponent.spec): update data-testid for textarea components to use the name of the prompt instead of index
fix(group.spec): update data-testid for textarea component to use a more descriptive name instead of index
fix(saveComponents.spec): update data-testid for textarea component to use a more descriptive name instead of index
2024-01-18 18:18:18 -03:00
anovazzi1
276329edf0 Add unselectAll function to CodeTabsComponent and FlowStore 2024-01-18 14:47:43 -03:00
anovazzi1
3b60133639 Fix readonly prop in CodeTabsComponent and update setNodeClass in GenericModal 2024-01-18 14:26:31 -03:00
anovazzi1
291e5f42c0 Update embeddings and conversation chains 2024-01-18 13:38:23 -03:00
anovazzi1
454e80f6d8 fix(GenericNode/index.tsx): import useUpdateNodeInternals from reactflow to fix missing dependency
feat(GenericNode/index.tsx): add useUpdateNodeInternals hook to update node internals when isMinimized changes
2024-01-18 13:37:42 -03:00
cristhianzl
06bc86142a Merge branch 'dev' into cz/bug/state/zustand 2024-01-18 09:35:09 -03:00
Lucas Oliveira
6ab7bbf46c Fixed chat button appearing even if build failed 2024-01-18 13:23:44 +01:00
dxxky
fd8a82fc49
Update AzureChatOpenAI.py
Add API Supported versions - 2023-09-01-preview
2024-01-18 17:16:23 +08:00
cristhianzl
a6f25e97b8 fix(parameterComponent): add isMinimized prop to ParameterComponent to control the display of a component when minimized
feat(GenericNode): add isMinimized state to control the display of components when the node is minimized
fix(nodeToolbarComponent): set isMinimized state based on showNode prop to control the display of components when the node is minimized
2024-01-17 20:40:39 -03:00
anovazzi1
35a0a344dd Fix drag and click behavior in nestedComponent.spec.ts 2024-01-17 19:01:32 -03:00
anovazzi1
5ca45e02b4 Add frontend tests to Makefile 2024-01-17 18:53:31 -03:00
anovazzi1
84160ce86e Fix formatting and remove unused code 2024-01-17 17:29:15 -03:00
anovazzi1
7b889fe651 Refactor sidebar draggable component 2024-01-17 17:27:05 -03:00
cristhianzl
e48c5d06c0 merge fix 2024-01-17 16:57:58 -03:00
cristhianzl
bd0d0cb1b2 fix(sideBarDraggableComponent): fix alignment and positioning of select trigger and select content
feat(sideBarDraggableComponent): add support for download option in select content
feat(sideBarDraggableComponent): add support for delete option in select content for non-official items
2024-01-17 16:57:02 -03:00
Lucas Oliveira
7ada6f20ac Merge branch 'cz/bug/state/zustand' into update_lc 2024-01-17 19:44:30 +01:00
igorrCarvalho
a2096b8e0b Fix: Add value prop initial value to prevent it from breaking when open edit node modal 2024-01-17 19:29:25 +01:00
igorrCarvalho
65d8b59885 Fix: Add select trigger to Saved components to make toolbar open again 2024-01-17 19:29:21 +01:00
igorrCarvalho
cb956e68d0 Fix: Transform empty object to array without opening 'editNode' modal to prevent flow build breakage. 2024-01-17 19:29:14 +01:00
igorrCarvalho
8d86d6208c Fix: Input list doesnt show up when template value are empty 2024-01-17 19:28:50 +01:00
Lucas Oliveira
c3a0dfbd97 Fixed handles not showing when changing the output of the custom code 2024-01-17 19:27:58 +01:00
igorrCarvalho
41aec50819 Refactor: Change onConnection function to zustand store 2024-01-17 19:27:37 +01:00
anovazzi1
cbea369c2c Update setFilterEdge references in code 2024-01-17 19:27:26 +01:00
anovazzi1
59de3fe50b fix(App.tsx): increase the timer interval for fetching data to 20 seconds for better performance
feat(App.tsx): add cleanup function to clean up flow state when component unmounts
feat(PageComponent/index.tsx): add cleanFlow function to reset flow state when component unmounts
fix(PageComponent/index.tsx): fix bug where newEdges were not being set correctly in onConnect function
fix(PageComponent/index.tsx): remove unnecessary dependencies from onConnect function
fix(PageComponent/index.tsx): fix bug where setEdges was not returning the newEdges array correctly
feat(flowStore.ts): add cleanFlow function to reset flow state to initial values
feat(flowStore.ts): add cleanFlow function to reset flow state to initial values in flowStore type
2024-01-17 19:27:04 +01:00
cristhianzl
dd95a0c699 chore(playwright-report): fix indentation and formatting in index.html file
style(App.css): add overflow: hidden to body and fix indentation and formatting
2024-01-17 19:26:50 +01:00
igorrCarvalho
ea40145b33 Fix: Add value prop initial value to prevent it from breaking when open edit node modal 2024-01-17 13:42:36 -03:00
Gabriel Luiz Freitas Almeida
8d523dc672
Add indexes to tables apikey, flow, and user (#1349)
This pull request adds indexes to the tables apikey, flow, and user in order to improve database performance.
2024-01-17 07:36:29 -03:00
Gabriel Luiz Freitas Almeida
91d1b04d92 Add indexes to tables apikey, flow, and user 2024-01-17 07:36:05 -03:00
Gabriel Luiz Freitas Almeida
679ef1f955 Update version to 0.6.5a8 in pyproject.toml 2024-01-17 07:34:31 -03:00