Commit graph

12,533 commits

Author SHA1 Message Date
Robert Wilkins III
d6b179b7ce Add comments to clarify code 2023-04-21 12:22:12 -03:00
Robert Wilkins III
7011721c3c Adjust firewall to allow port 8080 2023-04-21 12:22:12 -03:00
Robert Wilkins III
2465318f77 Add steps to provision GCP VM serving langflow 2023-04-21 12:22:12 -03:00
Petru Molla
801ff57dc0 Update loading.py 2023-04-20 16:06:22 -03:00
Gabriel Luiz Freitas Almeida
ded527a64a Update loading.py 2023-04-20 16:06:22 -03:00
Petru Molla
68f69e878e Using an exported Flow JSON file with load_flow_from_json("path/to/flow.json") returns
"UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 9465: character maps to
<undefined>".

Specifying the encodint type in the function helps to fix that error.
2023-04-20 16:06:22 -03:00
Ibis Prevedello
46e76c8ca4 feat: add SQLDatabaseChain
Close #173
2023-04-20 15:17:23 -03:00
Ibis Prevedello
843ae8efc5 feat: add extra tools and utilities 2023-04-20 15:17:23 -03:00
Ibis Prevedello
571f407ef3 refac: refactor tools and add QuerySQLDataBaseTool 2023-04-20 15:17:23 -03:00
Gabriel Almeida
5169c0bc27 feat(chat_manager.py): add support for sending file responses
fix(schemas.py): add validation for file response type and data type
test(test_websocket.py): remove data and data_type fields from ChatResponse messages in tests
2023-04-20 11:09:42 -03:00
Gabriel Almeida
3da30cc5bf refactor(cache): move cache functionality to a separate class
feat(cache): add support for multiple clients and context manager to set client_id
feat(cache): add observer pattern to notify on cache changes
feat(cache): add async observer pattern to notify on cache changes in async functions
feat(cache): add methods to add pandas DataFrame or Series and PIL Image to cache
feat(cache): add method to get an object from cache by key
feat(cache): add method to get the last added item in cache
2023-04-20 11:09:11 -03:00
Robert Wilkins III
9869c59e6d layout changes 2023-04-20 05:14:37 +00:00
Robert Wilkins III
7e3ea10719 remove the nats 2023-04-20 05:11:28 +00:00
Robert Wilkins III
de5ed466d7 improve grammer and remove nat 2023-04-20 05:10:38 +00:00
Robert Wilkins III
207f1b0399 add spot instance support and pricing 2023-04-20 04:43:26 +00:00
Robert Wilkins III
573f0d6ee7 remove redundant wording 2023-04-20 03:54:58 +00:00
Robert Wilkins III
d427fa9972 more styling 2023-04-20 03:36:27 +00:00
Robert Wilkins III
dcf1f0c35e add styling 2023-04-20 03:35:10 +00:00
Robert Wilkins III
1c7776508f improve readability 2023-04-20 03:29:03 +00:00
Robert Wilkins III
6c61926261 move trophy toward end of walkthrough 2023-04-20 03:20:09 +00:00
Robert Wilkins III
d46c1e5a81 clarify notes to connect to vm 2023-04-20 03:17:40 +00:00
Robert Wilkins III
c4f41a7da9 remove input tag 2023-04-20 03:11:30 +00:00
Robert Wilkins III
df062edd91 vars and trophies 2023-04-20 03:08:50 +00:00
Robert Wilkins III
e38d7b6f24 provide user with link to langflow server 2023-04-20 02:57:37 +00:00
anovazzi1
c2d21178e1 found bug on save langflow state 2023-04-19 23:41:30 -03:00
Robert Wilkins III
0527bf3291 var expansion alt test 2023-04-20 02:33:47 +00:00
anovazzi1
5c64bc6698 created langFlowState type 2023-04-19 23:33:01 -03:00
Robert Wilkins III
72d6cb060a var expansion again 2023-04-20 02:23:34 +00:00
Robert Wilkins III
e0aba3223f revert var expansion test 2023-04-20 02:19:36 +00:00
anovazzi1
7e1d361c90 templates from backend stored in context 2023-04-19 23:19:17 -03:00
Robert Wilkins III
11fea7a7a8 testing var expansion 2023-04-20 02:18:27 +00:00
Robert Wilkins III
060a0cfbeb set project config 2023-04-20 02:10:45 +00:00
Robert Wilkins III
a8b2460b91 remove login prompt for ephemeral cloudshell 2023-04-20 02:07:10 +00:00
Robert Wilkins III
7314a3fc81 add cloudshell repo trust advisory 2023-04-20 02:05:34 +00:00
Robert Wilkins III
413285f7ec force gcp login in ephemeral cloudshell 2023-04-20 01:55:34 +00:00
anovazzi1
284f865c36 created template context and type 2023-04-19 22:54:46 -03:00
Robert Wilkins III
a13be7f1dd match bash script to walkthrough 2023-04-20 01:37:52 +00:00
Robert Wilkins III
98fc23dfe8 fix bash command launch 2023-04-20 01:35:20 +00:00
Robert Wilkins III
c458f0f222 remove comments that show up in walkthrough 2023-04-20 01:32:45 +00:00
Robert Wilkins III
12a1f3ac7a remove scripted steps from walkthrough 2023-04-20 01:30:44 +00:00
Gabriel Almeida
0a630cd70d refactor(chat_manager.py): move process_graph function outside of ChatManager class
test(websocket.py): add tests for websocket connection, chat history, and sending messages
2023-04-19 22:23:31 -03:00
Robert Wilkins III
5c57701e38 configure cloudshell to run walkthrough 2023-04-20 01:21:21 +00:00
anovazzi1
53b8f48f96 change text on examples page 2023-04-19 22:13:31 -03:00
anovazzi1
26db1f4e1b added github logo with link to repo 2023-04-19 22:11:18 -03:00
anovazzi1
4a66105ef7 updade examples color 2023-04-19 21:58:30 -03:00
Gabriel Almeida
7d183ff57e refactor(chat.py, chat_manager.py, schemas.py, run.py): add chat history to ChatManager and ChatMessage schema
feat(chat.py, chat_manager.py): add error handling for async_get_result_and_steps
feat(chat.py): add client_id to websocket endpoint
feat(schemas.py): add data_type field to ChatResponse schema
refactor(run.py): memoize build_langchain_object_with_caching function with maxsize of 10
2023-04-19 21:28:05 -03:00
Robert Wilkins III
a200ddc4fd create setup files and GCP tutorial 2023-04-19 22:59:56 +00:00
Gabriel Almeida
f1ef859374 feat(template): add advanced flag to TemplateFieldCreator and FrontendNode classes
Add an advanced flag to the TemplateFieldCreator and FrontendNode classes to allow for fields to be hidden from the user interface. In the TemplateFieldCreator class, the advanced flag is set to False by default. In the FrontendNode class, the advanced flag is set to False for all fields except for "model_type" and "model_kwargs", which are set to True.
2023-04-19 14:52:05 -03:00
Gabriel Almeida
72bb4e45c5 Merge branch 'dev' of https://github.com/logspace-ai/langflow into NodeModal 2023-04-19 14:25:20 -03:00
Gabriel Almeida
9b1f86b681 refactor(chatComponent): simplify conditional statement in Chat component's error handling logic 2023-04-19 14:20:05 -03:00