Commit graph

2,895 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
98f739db99 Refactor getattr_return_str method in Component class 2024-02-09 09:06:15 -03:00
Gabriel Luiz Freitas Almeida
9cbe329675 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-09 09:03:07 -03:00
Gabriel Luiz Freitas Almeida
a8f9d4bb4d Refactor directory reader component 2024-02-09 09:01:58 -03:00
Gabriel Luiz Freitas Almeida
3175001891 Refactor custom component template building code 2024-02-09 08:57:14 -03:00
Gabriel Luiz Freitas Almeida
c24771c79b Refactor code and add new functions 2024-02-09 08:56:09 -03:00
Gabriel Luiz Freitas Almeida
ba79225b9c Add display_name for message input in ChatInput and ChatOutput 2024-02-09 08:48:07 -03:00
Gabriel Luiz Freitas Almeida
493a64381c Refactor build_template_config to use CustomComponent 2024-02-09 08:46:50 -03:00
Gabriel Luiz Freitas Almeida
1d31ee753b Add serialize_field function to handle serialization of BaseModel and Document types 2024-02-08 19:42:47 -03:00
Gabriel Luiz Freitas Almeida
a9cb30c378 Add JSON formatting for dict objects in ChatVertex 2024-02-08 19:26:04 -03:00
Gabriel Luiz Freitas Almeida
21bff66c1a Update ChatInput and ChatVertex classes 2024-02-08 18:32:08 -03:00
cristhianzl
33d05a23f3 Merge branch 'add_emoji_icon' into dev 2024-02-08 18:08:24 -03:00
Gabriel Luiz Freitas Almeida
5b51610377 Refactor code and fix imports 2024-02-08 15:48:22 -03:00
Gabriel Luiz Freitas Almeida
7387388089 Refactor create_credential function to use model_dump and model_validate methods 2024-02-08 15:30:50 -03:00
Gabriel Luiz Freitas Almeida
1148095156 Refactor credential.py: update create_credential() method 2024-02-08 15:07:01 -03:00
Gabriel Luiz Freitas Almeida
d8522f8236 Add emoji validation to icon field in custom components 2024-02-08 10:12:31 -03:00
Gabriel Luiz Freitas Almeida
585ae464a1 Add icon support to CustomComponent 2024-02-08 10:01:29 -03:00
Gabriel Luiz Freitas Almeida
42fb9aa4aa makes Text an input_type if field_type is str 2024-02-07 23:41:05 -03:00
Gabriel Luiz Freitas Almeida
4bba0212ff Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-07 22:42:20 -03:00
Gabriel Luiz Freitas Almeida
b1ef28da7b Refactor ChromaSearchComponent to return records instead of documents 2024-02-07 22:33:19 -03:00
Gabriel Luiz Freitas Almeida
3a1fa30984 Add RecordsAsTextComponent to convert Records to text 2024-02-07 22:33:14 -03:00
Gabriel Luiz Freitas Almeida
603ffd1f1b Add Record class and conversion functions 2024-02-07 22:33:07 -03:00
Gabriel Luiz Freitas Almeida
7a4b2dfc7e Refactor ChatOpenAIComponent configuration fields 2024-02-07 21:00:35 -03:00
Gabriel Luiz Freitas Almeida
f21ddc2306 Refactor OpenAIModelComponent configuration fields 2024-02-07 21:00:03 -03:00
Gabriel Luiz Freitas Almeida
db969dbed0 Add OpenAI model component to langflow 2024-02-07 20:47:24 -03:00
Gabriel Luiz Freitas Almeida
4bbe26fa65 Rename ChromaComponent to ChromaSearchComponent 2024-02-07 20:30:13 -03:00
Gabriel Luiz Freitas Almeida
26ae9efab3 Update ChromaComponent description and display name 2024-02-07 20:29:57 -03:00
Gabriel Luiz Freitas Almeida
cc5e491d8a Add PromptComponent to langflow prompts 2024-02-07 20:28:29 -03:00
Gabriel Luiz Freitas Almeida
1f5f5d7006 Add ChromaSearch component for implementing a Vector Store using Chroma 2024-02-07 19:42:47 -03:00
Gabriel Luiz Freitas Almeida
41ead835f0 Refactor file path handling in Vertex class 2024-02-07 19:13:55 -03:00
Gabriel Luiz Freitas Almeida
a2e0a6aed7 Refactor get_full_path method in CustomComponent 2024-02-07 19:13:49 -03:00
Gabriel Luiz Freitas Almeida
829c810562 Update ChromaComponent configuration 2024-02-07 18:57:24 -03:00
Gabriel Luiz Freitas Almeida
a76b356526 Refactor CharacterTextSplitterComponent to use typing and update return value 2024-02-07 18:57:19 -03:00
Gabriel Luiz Freitas Almeida
778ed3a8e7 Fix disallowed_special parameter in OpenAIEmbeddingsComponent 2024-02-07 18:50:04 -03:00
Gabriel Luiz Freitas Almeida
52494fbf74 Update display name and return result as dictionary 2024-02-07 15:55:23 -03:00
Gabriel Luiz Freitas Almeida
5d7f00c5ad Add support for ChatVertex in _get_vertex_class() method 2024-02-07 15:31:36 -03:00
Gabriel Luiz Freitas Almeida
b79e4a1198 Remove unnecessary steps in AgentVertex and ChainVertex 2024-02-07 14:59:48 -03:00
Gabriel Luiz Freitas Almeida
f01d8cf046 Refactor component name determination logic in directory_reader.py 2024-02-07 14:23:21 -03:00
Gabriel Luiz Freitas Almeida
dfae41cd45 Add AsyncStreamingLLMCallbackHandleSIO class 2024-02-07 14:07:27 -03:00
Gabriel Luiz Freitas Almeida
58ee61d0a2 Update schemas.py with serialization functions 2024-02-07 14:07:23 -03:00
Gabriel Luiz Freitas Almeida
0abeda51e9 Refactor _get_vertex_class method to handle node_base_type 2024-02-07 14:07:13 -03:00
Gabriel Luiz Freitas Almeida
350ce9ecb6 Update generate_result to use async/await 2024-02-07 14:07:08 -03:00
Gabriel Luiz Freitas Almeida
ee43952e42 Refactor invoke_lc_runnable function parameters 2024-02-07 14:07:02 -03:00
Gabriel Luiz Freitas Almeida
b32485a6fa Fix pydantic field serialization and error handling 2024-02-07 14:06:56 -03:00
Gabriel Luiz Freitas Almeida
05b088cdfe Add support for Text and Document inputs in RetrievalQAComponent 2024-02-06 23:11:41 -03:00
Gabriel Luiz Freitas Almeida
155a679a6d Add delete_credential endpoint to credential API 2024-02-06 17:31:51 -03:00
Gabriel Luiz Freitas Almeida
6854c25dae Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-06 14:21:50 -03:00
Gabriel Luiz Freitas Almeida
392b81b519 Reapply "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes"
This reverts commit f3b3d2cf68.
2024-02-05 19:02:34 -03:00
Gabriel Luiz Freitas Almeida
f3b3d2cf68
Revert "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes" 2024-02-05 18:29:03 -03:00
Gabriel Luiz Freitas Almeida
1b867586c2 Update OpenAI models and options 2024-02-05 18:17:23 -03:00
Gabriel Luiz Freitas Almeida
bbf8b2ab0b Remove unnecessary "required" attribute from field_config in VectaraComponent 2024-02-05 17:53:15 -03:00