Commit graph

2,594 commits

Author SHA1 Message Date
anovazzi1
5a7e46ba12 Update schemas and chat.py files 2024-01-19 22:08:02 -03:00
anovazzi1
8ab47639bf Update type hints in ContractEdge class 2024-01-19 22:03:03 -03:00
anovazzi1
46ed96f20f Add import for MonitorService in deps.py 2024-01-19 21:59:47 -03:00
anovazzi1
8ded1ceb4b Add SettingsService class to manage settings from YAML file 2024-01-19 21:57:12 -03:00
anovazzi1
9933d1fec0 Add monitor service and related files 2024-01-19 21:54:21 -03:00
anovazzi1
11eb254622 Add ContractEdge class and related methods 2024-01-19 21:41:10 -03:00
anovazzi1
d2cce0590a Add UnbuiltResult class to utils.py 2024-01-19 21:40:02 -03:00
anovazzi1
cc62b225ca fix(vertex/base.py): fix import statement for UnbuiltResult class
feat(vertex/base.py): add PowerComponentTypes enum to represent power components
feat(vertex/base.py): add is_power_component attribute to Vertex class to determine if a vertex is a power component
feat(vertex/base.py): add get_result_dict method to Vertex class to return a dictionary with the result of the build process
feat(vertex/base.py): add get_built_result method to Vertex class to return the built result of a vertex
feat(vertex/base.py): add set_artifacts method to Vertex class
feat(vertex/base.py): add steps and steps_ran attributes to Vertex class to keep track of build steps
feat(vertex/base.py): add layer attribute to Vertex class to represent the layer of the vertex
feat(vertex/base.py): add set_top_level method to Vertex class to set the parent_is_top_level attribute
feat(vertex/base.py): add pinned attribute to Vertex class to indicate if the vertex is pinned
feat(vertex/base.py): add _reset method to Vertex class to reset the state of the vertex before building
feat(vertex/base.py): add build method to Vertex class to build the vertex and run build steps
feat(vertex/base.py): add get_requester_result method to Vertex class to get the result of the requester vertex
fix(vertex/base.py): fix add_edge method in Vertex class to check if the edge already exists before adding it
fix(vertex/base.py): fix __getstate__ method in Vertex class to include pinned attribute in the state
fix(vertex/base.py): fix _parse_data method in Vertex class to correctly set the pinned attribute
fix(vertex/base.py): fix _run method in Vertex class to handle different types of built objects and handle exceptions
2024-01-19 21:37:40 -03:00
anovazzi1
d3f728a436 Add StatefulVertex and StatelessVertex classes 2024-01-19 20:44:43 -03:00
anovazzi1
2213aa2e57 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-01-19 17:59:29 -03:00
anovazzi1
e7629226d3 Add process_tweaks_on_graph function to chat.py 2024-01-19 17:59:00 -03:00
anovazzi1
e327c381be Add function to apply tweaks on vertex 2024-01-19 17:58:35 -03:00
anovazzi1
45b2b29545 Add process_tweaks_on_graph function to process.py 2024-01-19 17:57:17 -03:00
anovazzi1
2e79b597fb Update schemas.py with ResultDict model 2024-01-19 17:48:23 -03:00
anovazzi1
4b1d5aa2b6 Add get_cache method to ChatService 2024-01-19 17:22:10 -03:00
anovazzi1
fd64dc9f2a Add Body import to chat.py 2024-01-19 17:11:34 -03:00
anovazzi1
c60fe6ba14 Add build_vertex endpoint to chat.py 2024-01-19 16:47:36 -03:00
anovazzi1
0313592a7b Fix graph edge references in Graph class 2024-01-19 16:42:47 -03:00
anovazzi1
93a374d5b4 Add defaultdict and deque imports 2024-01-19 16:26:05 -03:00
anovazzi1
f6333136cc Add layered topological sort algorithm to Graph class 2024-01-19 16:19:50 -03:00
anovazzi1
5f9a09d4c3 Add Flow model and related schemas 2024-01-19 16:16:01 -03:00
anovazzi1
bbd92fc453 Add VerticesOrderResponse schema 2024-01-19 16:11:03 -03:00
anovazzi1
72e10b42b3 Add API endpoint to get vertices order in a flow 2024-01-19 16:09:17 -03:00
Gabriel Luiz Freitas Almeida
8c523b35d7
Merge branch 'dev' into cz/bug/state/zustand 2024-01-18 21:33:40 -03:00
anovazzi1
103dd29380 Fix template formatting in custom.py 2024-01-18 18:00:32 -03:00
anovazzi1
291e5f42c0 Update embeddings and conversation chains 2024-01-18 13:38:23 -03:00
cristhianzl
06bc86142a Merge branch 'dev' into cz/bug/state/zustand 2024-01-18 09:35:09 -03:00
dxxky
fd8a82fc49
Update AzureChatOpenAI.py
Add API Supported versions - 2023-09-01-preview
2024-01-18 17:16:23 +08: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
3eb14b53f1 Add indexes to tables apikey, flow, and user 2024-01-17 07:34:18 -03:00
Gabriel Luiz Freitas Almeida
fa55e98a0b Fix unique constraints and column nullability 2024-01-17 07:07:45 -03:00
Gabriel Luiz Freitas Almeida
8cb4fe9f5f Add primary key and unique constraints to user, apikey, and flow tables 2024-01-16 23:13:09 -03:00
Gabriel Luiz Freitas Almeida
6b5d51016a Fix LangflowApplication initialization 2024-01-15 23:29:57 -03:00
Gabriel Luiz Freitas Almeida
79c20ec46b Update create_engine method to include max_overflow parameter 2024-01-15 19:24:56 -03:00
Gabriel Luiz Freitas Almeida
7fc32b342a Refactor imports and initialize services in __main__.py 2024-01-14 18:15:56 -03:00
Gabriel Luiz Freitas Almeida
e75f5f4745 Refactor run_on_mac_or_linux function and remove unused imports 2024-01-14 18:14:40 -03:00
Gabriel Luiz Freitas Almeida
71bb7c18e4 Refactor process_graph_cached function 2024-01-14 17:50:03 -03:00
Gabriel Luiz Freitas Almeida
73f87dd611 Fix memory inputs and update function arguments 2024-01-14 17:49:28 -03:00
Gabriel Luiz Freitas Almeida
54c40c670a Add support for running on Linux using gunicorn 2024-01-14 16:01:50 -03:00
Gabriel Luiz Freitas Almeida
be83ffb0e7 Add Optional parameter to load_session method 2024-01-14 15:21:59 -03:00
Gabriel Luiz Freitas Almeida
2a69254eda Add build_graph_and_generate_result function to process.py 2024-01-14 15:21:51 -03:00
Gabriel Luiz Freitas Almeida
0b68decdfc Add PreloadResponse schema 2024-01-14 15:21:46 -03:00
Gabriel Luiz Freitas Almeida
a562c1f98e Refactor API endpoints and add preload functionality 2024-01-14 15:21:43 -03:00
Gabriel Luiz Freitas Almeida
7b1f30ea80 Refactor LangflowApplication constructor 2024-01-14 15:21:39 -03:00
Gabriel Luiz Freitas Almeida
5c4b2a55de Update main.py with FastAPI configuration 2024-01-14 15:21:34 -03:00
Gabriel Luiz Freitas Almeida
88c75e29b2 Import multiprocessing and fix run_langflow function 2024-01-14 15:21:30 -03:00
Gabriel Luiz Freitas Almeida
13fdc62fde
Added OllamaEmbeddings component with documentation (#1309)
Ollama embeddings are useful to enhance langflow's support of Ollama,
allowing users to run LLMs such as Mistral and LLama locally. Langchain
documentation can be found via [this
link](https://python.langchain.com/docs/integrations/text_embedding/ollama).

Changes:

- New `OllamaEmbeddingsComponent` class
- Associated documentation in the `Embeddings` section
2024-01-11 12:04:46 -03:00
Gabriel Luiz Freitas Almeida
78c32b9b5a
Added AzureOpenAIEmbeddings component (#1293)
I have added AzureOpenAIEmbeddings component on Embeddings.
2024-01-11 12:04:18 -03:00
Gabriel Luiz Freitas Almeida
aac9ab2c5c
Update AzrueChatOpenAI component. Change api_version to option field … (#1288)
In order to reduce user’s operating steps, I change "api_version" to
option field and select the latest version by default.
2024-01-11 12:03:53 -03:00
Cyrus Pellet
37ced42f56 Added OllamaEmbeddings component with documentation 2024-01-09 13:16:07 +01:00