Commit graph

11,619 commits

Author SHA1 Message Date
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
fc7bcf53c9
Add unique constraints and new fixes (#1368)
This pull request adds unique constraints to the database tables and includes new fixes for the codebase.
2024-01-26 13:38:46 -03:00
Gabriel Luiz Freitas Almeida
89a8a6a0be Update version number in pyproject.toml 2024-01-26 13:37:48 -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
Gabriel Luiz Freitas Almeida
103df34d0e Fix test_custom_component.py to call the correct method 2024-01-25 19:44:23 -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
abe4925cc3 Refactor imports and update function names 2024-01-25 16:17:40 -03:00
Gabriel Luiz Freitas Almeida
a41ada87ee Fix import and function name in test_loading.py 2024-01-25 16:17:20 -03:00
Gabriel Luiz Freitas Almeida
a76f90157e Refactor login tests and import statements 2024-01-25 16:17:13 -03:00
Gabriel Luiz Freitas Almeida
f527e0a3f1 Update import statement in test_process.py 2024-01-25 16:16:58 -03:00
Gabriel Luiz Freitas Almeida
033bd44412 Refactor imports in test_prompts_template.py 2024-01-25 16:16:40 -03:00
Gabriel Luiz Freitas Almeida
97fa69e535 Fix test_template.py: Update build_template_from_function and test_format_dict 2024-01-25 16:16:35 -03:00
Gabriel Luiz Freitas Almeida
8502898032 Refactor test_setup_superuser.py 2024-01-25 16:16:28 -03:00
Gabriel Luiz Freitas Almeida
b19b317e6b Refactor user tests and fix error handling 2024-01-25 16:16:15 -03:00
Gabriel Luiz Freitas Almeida
a0f7e63f77 Refactor code formatting in locustfile.py 2024-01-25 16:16:03 -03:00
Gabriel Luiz Freitas Almeida
517529ca40 Refactor imports and fix formatting in conftest.py 2024-01-25 16:15:54 -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
a6a69a0f3a Fix import statements and formatting issues 2024-01-25 13:03:42 -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