Commit graph

1,241 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
4306e10380
Hotfix: api code in api button was missing an import (#303) 2023-05-15 13:16:41 +00:00
Gabriel Almeida
3966ab166f chore(pyproject.toml): update package version from 0.0.71 to 0.0.72 2023-05-15 10:11:06 -03:00
Gabriel Almeida
aac72b894a style(ApiModal): fix indentation in SyntaxHighlighter className prop
refactor(ApiModal): add json import to pythonApiCode to fix json.loads error
2023-05-15 10:10:00 -03:00
Gabriel Luiz Freitas Almeida
5049e59530
Update Dockerfile
Update Dockerfile to help with deployment
2023-05-15 08:00:24 -03:00
Gabriel Luiz Freitas Almeida
8c93b9264a
refactor(loading.py): change instantiate_prompt function signature to include class_object parameter and use it to instantiate the prompt object (#302) 2023-05-14 23:24:36 +00:00
Gabriel Almeida
22b00a98db chore(pyproject.toml): update package version from 0.0.70 to 0.0.71 2023-05-14 20:22:38 -03:00
Gabriel Almeida
9627005f8d refactor(loading.py): change instantiate_prompt function signature to include class_object parameter and use it to instantiate the prompt object 2023-05-14 20:21:42 -03:00
Rodrigo Nader
689638aa76
Hotfix: Temporary fix for intermediate steps (#295)
Intermediate steps were using Stdout but with logging this becomes an
issue. This uses the steps LangChain provides which are limited and
don't give the full scope.

A better implementation will come soon.
2023-05-13 21:59:30 -03:00
Gabriel Almeida
d39f08f75f chore(pyproject.toml): update package version from 0.0.69 to 0.0.70 2023-05-13 21:50:03 -03:00
Gabriel Almeida
2bc7d3afd8 temporary fix for intermediate steps 2023-05-13 21:49:06 -03:00
Gabriel Almeida
4853a701d3 refactor(validate.py): add error handling and logging to post_validate_node function
feat(graph/base.py): add _built_object_repr method to Node class
feat(graph/nodes.py): add _built_object_repr method to DocumentLoaderNode, VectorStoreNode, and TextSplitterNode classes
2023-05-12 09:39:35 -03:00
Gabriel Almeida
0626d21ff0 feat(pyproject.toml): add gptcache dependency to the project. 2023-05-12 09:39:03 -03:00
Lucas Oliveira
50ba94e470 Changed API modal to include Python code 2023-05-12 08:43:43 -03:00
Lucas Oliveira
a80bf37be4 Merge branch 'frontChanges' of github.com:logspace-ai/langflow into frontChanges 2023-05-11 23:41:33 -03:00
Lucas Oliveira
8acde598c4 Changed alerts dark mode classes 2023-05-11 23:36:41 -03:00
Lucas Oliveira
64010cd2f4 changed dark mode at node modal 2023-05-11 23:20:27 -03:00
Lucas Oliveira
1fb5fd6e45 changed alert dark mode classes 2023-05-11 23:18:38 -03:00
Lucas Oliveira
3fde0df580 changed dark mode classes 2023-05-11 23:18:30 -03:00
Lucas Oliveira
3b68fef647 changed dark mode classes, added X icon to chat, changed icon of AI 2023-05-11 22:57:01 -03:00
anovazzi1
b1b8ba3f38 removed tooltip prom import card 2023-05-11 22:27:17 -03:00
anovazzi1
9faf392aca
fixed copy and paste bug (#286)
fixed bug on copy and paste
2023-05-11 21:50:20 -03:00
anovazzi1
7bf5d27379 Merge branch 'dev' into FixCopyPaste 2023-05-11 21:50:06 -03:00
anovazzi1
5a0a9221b9 fixed copy and paste bug 2023-05-11 21:46:55 -03:00
Gabriel Almeida
096f652357 chore(pyproject.toml): update langchain version to ^0.0.166
feat(pyproject.toml): update package version to 0.0.69
2023-05-11 21:25:09 -03:00
Gabriel Luiz Freitas Almeida
9e0a6c729b
Dark Mode and API Modal (#284) 2023-05-11 23:24:16 +00:00
Gabriel Almeida
0d43a9b32b fixed python code 2023-05-11 19:48:56 -03:00
Lucas Oliveira
6f42514fd5 Fixed Dark Mode on Import screen 2023-05-11 19:31:37 -03:00
Lucas Oliveira
9496728eb5 Fixed Python API code 2023-05-11 18:58:07 -03:00
Gabriel Almeida
d55d209dc3 formatting 2023-05-11 14:33:52 -03:00
Lucas Oliveira
2589b1f468 Fixed dark mode classes on FileInput 2023-05-11 14:01:59 -03:00
Lucas Oliveira
6030b47915 Removed JS from API modal 2023-05-11 14:00:29 -03:00
Lucas Oliveira
97c60eaa5d Merge branch 'dev' into frontChanges 2023-05-11 13:59:12 -03:00
Lucas Oliveira
2b5e3c9b46
Streaming, Chat Markdown, and CacheManager (#282)
Chat now has Markdown helping see code blocks and images.

Now models stream their messages if possible (VectorStores don't allow
async for now in LangChain, I think)

We added a cache_manager object. This allows you to add images (and soon
other things too) to the chat. You can also recall the object saved from
another PythonFunction node.

Closes #241
Closes #162
2023-05-11 13:51:47 -03:00
Gabriel Almeida
7fbce31a50 refactor(chatModal): improve code readability and formatting 2023-05-11 11:28:12 -03:00
Gabriel Almeida
2e16618e47 refactor(chat_manager.py): use dict.pop() method to remove client_id from active_connections dictionary 2023-05-11 11:15:51 -03:00
Gabriel Almeida
b16084d927 fix(chat_manager.py): limit the length of the exception message to 120 characters 2023-05-11 10:18:07 -03:00
Gabriel Almeida
df178e10e2 Merge branch 'streaming' of https://github.com/logspace-ai/langflow into streaming 2023-05-11 09:31:32 -03:00
Gabriel Almeida
03e9edd8b7 Merge branch 'dev' of https://github.com/logspace-ai/langflow into streaming 2023-05-11 09:31:28 -03:00
Lucas Oliveira
23f349a2d8 Fixed typo in class at API modal 2023-05-11 00:04:23 -03:00
Lucas Oliveira
d01db97cd3 Changed Chat modal to work with dark mode 2023-05-11 00:00:17 -03:00
Lucas Oliveira
2961fc25a7 ApiModal dark mode fixed 2023-05-10 23:56:20 -03:00
Gabriel Almeida
92aadaf934 Merge branch 'dev' of https://github.com/logspace-ai/langflow into streaming 2023-05-10 23:22:15 -03:00
Gabriel Almeida
fd5f5784b8 refactor(api): remove unused imports in chat_manager.py and endpoints.py 2023-05-10 22:50:43 -03:00
Gabriel Almeida
e50e9b187c style(chat.py): format imports using PEP8 style guide 2023-05-10 22:49:01 -03:00
Gabriel Almeida
4046a7b1e5 refactor(agents/custom.py): create CustomAgentExecutor abstract class and make all agents inherit from it
fix(agents/custom.py): fix import error for NotEnoughElementsException
refactor(run.py): remove unused import statement for loading module
2023-05-10 22:48:49 -03:00
Gabriel Almeida
fc20775fdb Merge branch 'streaming' of https://github.com/logspace-ai/langflow into streaming 2023-05-10 22:44:02 -03:00
Gabriel Almeida
374a6c8f46 style(fileComponent): add dark mode support to file download button and tooltip background color and text color 2023-05-10 22:41:28 -03:00
anovazzi1
84d0c28c2f fixed padding 2023-05-10 22:38:20 -03:00
Gabriel Almeida
2ffc8b266f feat(nodes.py): add optional memory field to MidJourneyPromptChainNode class constructor 2023-05-10 22:31:16 -03:00
Gabriel Almeida
1f4f734dc3 changed padding button, and chat 2023-05-10 22:31:10 -03:00