Commit graph

7,638 commits

Author SHA1 Message Date
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
cristhianzl
3b3bfc9b5a fixing scroll-overflow on react flow 2024-01-11 17:59:45 -03:00
cristhianzl
2986741e61 style(App.css): add overflow: hidden to body to prevent horizontal scrolling
style(App.css): remove unnecessary auto values for width, height, and border-radius in .react-flow__node class
2024-01-11 17:48:11 -03:00
cristhianzl
8a1be061de 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-11 17:47:34 -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
cristhianzl
76a0f5162c fix(authContext.tsx): fix condition in logout function to check for autoLogin instead of isAuthenticated to prevent unnecessary logout 2024-01-11 10:03:07 -03:00
cristhianzl
60445d3af0 fix(authContext.tsx): fix condition in logout function to check for autoLogin instead of isAuthenticated to prevent unnecessary logout 2024-01-11 10:02:50 -03:00
cristhianzl
c54c080629 fix(authContext.tsx): add check for isAuthenticated before attempting to logout to prevent unnecessary logout calls 2024-01-11 10:02:26 -03:00
cristhianzl
030eed7804 fix(authContext.tsx): add check for isAuthenticated before attempting to logout to prevent unnecessary logout calls 2024-01-11 10:02:13 -03:00
cristhianzl
d250bf868b fix(headerComponent): handle case where stars is null by displaying 0 instead to prevent rendering issues 2024-01-11 09:52:02 -03:00
cristhianzl
2899eacdc9 lock 2024-01-10 22:49:04 -03:00
anovazzi1
369ca587fa Replace SQLAgent with AgentExecutor in SQLAgentComponent constructor 2024-01-10 18:34:14 -03:00
anovazzi1
b4d9118748 Merge remote-tracking branch 'origin/cz/bug/state/zustand' into update_lc 2024-01-10 17:47:33 -03:00
anovazzi1
db7eef597b Update SQLDatabaseChain.py to use the specific chain class for SQLDatabase 2024-01-10 17:46:51 -03:00
anovazzi1
f9aba724b9 Update RetrievalQAComponent parameters 2024-01-10 17:35:35 -03:00
anovazzi1
8fc03d06ed Refactor HuggingFaceEmbeddingsComponent to use langchain_community embeddings 2024-01-10 17:22:41 -03:00
anovazzi1
32be1ccbc1 Update CohereEmbeddings import and add new configuration options 2024-01-10 17:03:51 -03:00
anovazzi1
737b29e891 Add type hints and import necessary modules in SlackDirectoryLoaderComponent 2024-01-10 16:51:43 -03:00
anovazzi1
24931545f9 Add Document type to ReadTheDocsLoaderComponent 2024-01-10 16:45:31 -03:00
anovazzi1
f086f31e79 Add field type for metadata in ReadTheDocsLoaderComponent 2024-01-10 16:43:50 -03:00
anovazzi1
1425714ce9 Update OpenAIEmbeddingsComponent configuration 2024-01-10 16:34:29 -03:00
anovazzi1
8650fde69e Refactor IMSDbLoaderComponent configuration 2024-01-10 15:42:04 -03:00
anovazzi1
5437edc05f Remove unused import in ChatAnthropic.py 2024-01-10 15:38:01 -03:00
anovazzi1
1f1a1fc009 Refactor HNLoaderComponent to use HNLoader instead of BaseLoader
This commit refactors the HNLoaderComponent in the langflow backend to use the HNLoader class instead of the BaseLoader class. The HNLoader class is imported from the langchain_community.document_loaders.hn module. The commit also updates the return type annotation of the `load` method in HNLoaderComponent to HNLoader. Additionally, the metadata field in the component's configuration schema is updated to have a field_type of "dict". This change improves the specificity and functionality of the HNLoaderComponent.
2024-01-10 15:37:47 -03:00
anovazzi1
dfdfcec747 Merge branch 'update_lc' of personal:logspace-ai/langflow into update_lc 2024-01-10 15:33:41 -03:00
anovazzi1
2375dd31b2 Add GitbookLoader import and update metadata field type 2024-01-10 15:30:34 -03:00
carlosrcoelho
ee4a0da65d Update ChatAnthropicComponent configuration 2024-01-10 11:52:39 -03:00
anovazzi1
c2ebeeda9c Remove unused import statement 2024-01-10 11:48:02 -03:00
anovazzi1
11c5a3e001 Add ChatOpenAI model and update field types 2024-01-10 11:47:54 -03:00
carlosrcoelho
a24e0314bc Update import statement in Cohere.py 2024-01-10 11:39:11 -03:00
anovazzi1
46e2e69b57 Merge branch 'update_lc' of personal:logspace-ai/langflow into update_lc 2024-01-10 11:31:26 -03:00
anovazzi1
44a17f6f25 Update ChatVertexAIComponent parameters 2024-01-10 11:31:22 -03:00
carlosrcoelho
ebe9cfc8a4 Update AnthropicComponent configuration 2024-01-10 11:13:04 -03:00
cristhianzl
3babfedc05 lock 2024-01-10 11:04:09 -03:00
anovazzi1
55e7d23f55 Update CTransformersComponent to include default config values 2024-01-10 10:29:26 -03:00
anovazzi1
a8bf2ccf66 Update LlamaCpp import and return type 2024-01-10 10:19:38 -03:00
anovazzi1
914b8ddf6a Refactor OpenAIComponent class in OpenAI.py 2024-01-10 10:14:03 -03:00
anovazzi1
6f54fe6579 Update type hints in document loaders 2024-01-10 09:34:26 -03:00
anovazzi1
a291564b4e Update VertexAIComponent configuration 2024-01-10 09:34:13 -03:00