Commit graph

8,745 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
ab1c3f0b85 Add constants and utility function for file storage 2024-01-26 22:40:58 -03:00
Gabriel Luiz Freitas Almeida
4b08504ff7 Add files router to API v1 2024-01-26 22:39:56 -03:00
Gabriel Luiz Freitas Almeida
2ee9e5bb97 Add file upload, download, list, and delete endpoints 2024-01-26 19:02:47 -03:00
Gabriel Luiz Freitas Almeida
7b347d89c0 Add storage service to dependencies 2024-01-26 19:02:22 -03:00
Gabriel Luiz Freitas Almeida
ce31a13010 Add STORAGE_TYPE configuration 2024-01-26 19:01:48 -03:00
Gabriel Luiz Freitas Almeida
e9fc9f631b Add storage service and factory classes 2024-01-26 19:01:17 -03:00
Gabriel Luiz Freitas Almeida
1a4362fe50 Refactor create_upload_file function signature 2024-01-26 19:00:50 -03:00
Gabriel Luiz Freitas Almeida
aa30bc97d7 Remove unused imports and variables in ChatVertex class 2024-01-26 17:19:49 -03:00
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
04f5da3bd4
Update cookie settings in login.py (#1371)
This pull request updates the cookie settings in the login.py file. Specifically, it removes the "secure" and "samesite" attributes from the response.set_cookie() function calls. This change ensures that the cookies are not restricted to secure connections only and are not limited to same-site requests.
2024-01-26 15:18:49 -03:00
Gabriel Luiz Freitas Almeida
e63878b2f1 Update version to 0.6.5a12 in pyproject.toml 2024-01-26 15:18:00 -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
eece7b60c5
Refactor import order and remove unnecessary samesite attribute in set_cookie() calls (#1370)
This pull request refactors the import order and removes the unnecessary samesite attribute in the set_cookie() calls. This change improves the code readability and removes redundant code.
2024-01-26 14:10:32 -03:00
Gabriel Luiz Freitas Almeida
a2ca8a62e7 Bumped version to 0.6.5a11 in pyproject.toml 2024-01-26 14:09:48 -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
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