Commit graph

893 commits

Author SHA1 Message Date
Robert Wilkins III
f46e27d1f0 vars and trophies 2023-04-21 12:22:12 -03:00
Robert Wilkins III
d310a8172f provide user with link to langflow server 2023-04-21 12:22:12 -03:00
Robert Wilkins III
b54b0f0904 var expansion alt test 2023-04-21 12:22:12 -03:00
Robert Wilkins III
c4ebb0a3f6 var expansion again 2023-04-21 12:22:12 -03:00
Robert Wilkins III
90633c3915 revert var expansion test 2023-04-21 12:22:12 -03:00
Robert Wilkins III
7ef97e1334 testing var expansion 2023-04-21 12:22:12 -03:00
Robert Wilkins III
6efa1b7377 set project config 2023-04-21 12:22:12 -03:00
Robert Wilkins III
98be8f87e4 remove login prompt for ephemeral cloudshell 2023-04-21 12:22:12 -03:00
Robert Wilkins III
9c9b69db59 add cloudshell repo trust advisory 2023-04-21 12:22:12 -03:00
Robert Wilkins III
08a1739fa7 force gcp login in ephemeral cloudshell 2023-04-21 12:22:12 -03:00
Robert Wilkins III
9a06ff54c7 match bash script to walkthrough 2023-04-21 12:22:12 -03:00
Robert Wilkins III
bfdbabed55 fix bash command launch 2023-04-21 12:22:12 -03:00
Robert Wilkins III
e5aece49bf remove comments that show up in walkthrough 2023-04-21 12:22:12 -03:00
Robert Wilkins III
aeabaa32cd remove scripted steps from walkthrough 2023-04-21 12:22:12 -03:00
Robert Wilkins III
50b24f9443 configure cloudshell to run walkthrough 2023-04-21 12:22:12 -03:00
Robert Wilkins III
ff3817903f create setup files and GCP tutorial 2023-04-21 12:22:12 -03:00
Robert Wilkins III
19193d21e0 fix apt confirms, heredoc vars, add if statements 2023-04-21 12:22:12 -03:00
Robert Wilkins III
5a51306153 adding machine type to VM create 2023-04-21 12:22:12 -03:00
Robert Wilkins III
b946edb3d1 Allow IAP 2023-04-21 12:22:12 -03:00
Robert Wilkins III
9274cb9ae0 check and create VPC and subnet 2023-04-21 12:22:12 -03:00
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
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
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
Gabriel Almeida
9b1f86b681 refactor(chatComponent): simplify conditional statement in Chat component's error handling logic 2023-04-19 14:20:05 -03:00
Gabriel Almeida
18b3583850 test(websocket.py): add tests for websocket connection, chat history and sending message 2023-04-19 13:13:58 -03:00
Gabriel Almeida
e4d0a39b0b refactor: remove unnecessary build and push scripts and Dockerfiles
The removed files were unnecessary and were removed to simplify the project.
2023-04-19 11:49:17 -03:00
Gabriel Almeida
d978ae5438 refactor(cache): move cache-related functions to base.py module
feat(cache): add support for pandas and PIL Image objects caching
fix(interface): import cache-related functions from base.py module
test(cache): update import statements in cache-related test file
2023-04-19 11:02:32 -03:00
Gabriel Almeida
0b087e28c5 feat(pyproject.toml): add pyarrow dependency to the project. 2023-04-19 00:48:22 -03:00
Gabriel Almeida
8721083c25 refactor(run.py): simplify fix_memory_inputs function and handle cases where langchain_object has no prompt attribute 2023-04-19 00:48:06 -03:00
Gabriel Almeida
cd241c22c7 refactor(loading.py): add support for instantiating tool nodes
refactor(tools/base.py): comment out unused code for ToolCreator
feat(nodes.py): add 'return_direct' field to ToolNode template and set base class to 'Tool'
2023-04-19 00:46:57 -03:00
Gabriel Almeida
a0da9c6111 refactor(validate.py): filter function objects by filename to ensure they are from the evaluated string 2023-04-18 21:27:47 -03:00
Gabriel Almeida
3b52cd0e6b Merge remote-tracking branch 'origin' into dev 2023-04-18 18:58:05 -03:00
anovazzi1
999f3b21d0 improve scroll behavior for import modal 2023-04-18 15:37:57 -03:00
anovazzi1
a583a11876 improve tabs behavior 2023-04-18 15:19:35 -03:00
anovazzi1
d28d73a37e update add flow function to show import flow name 2023-04-18 15:14:08 -03:00
anovazzi1
a923cdeccb improve example ui 2023-04-18 15:12:10 -03:00
anovazzi1
4f72d54cb1 update types and improve tooltip component 2023-04-18 15:11:35 -03:00