Gabriel Almeida
177ffb3ea5
Merge remote-tracking branch 'origin/websocket' into chat_and_cache
2023-04-28 20:10:57 -03:00
Gabriel Almeida
c5d09f0e88
refactor(nodes.py): set advanced field to False for fields other than prompt in ChainFrontendNode class
2023-04-28 20:07:59 -03:00
anovazzi1
ccd8a3fe09
check advanced on node too
2023-04-28 20:02:37 -03:00
anovazzi1
8943de2575
check advanced on node too
2023-04-28 19:59:52 -03:00
anovazzi1
8d29bd1b0a
hide advanced icon if all the fields aren't advancedand show true
2023-04-28 19:46:53 -03:00
anovazzi1
733f62defb
remove error on console
2023-04-28 19:44:15 -03:00
anovazzi1
cfe74e6765
Merge branch 'NodeModal' of personal:logspace-ai/langflow into NodeModal
2023-04-28 19:41:26 -03:00
anovazzi1
11b82aa556
hide advanced icon if all the fields aren't advanced
2023-04-28 19:41:17 -03:00
Gabriel Almeida
f3d385b8e5
feat(tests): add "advanced" field to all template objects in test files
...
feat(tests): add 'advanced' field to template properties in test files
2023-04-28 19:18:17 -03:00
Gabriel Almeida
0fd8f73c08
refactor(langflow): set advanced flag to True for TemplateFieldCreator class
...
refactor(langflow): set advanced flag to False for LLMFrontendNode class' api key field
feat(langflow): add show flag to LLMFrontendNode class' model_kwargs field
refactor(langflow): set advanced flag to False and show flag to True for LLMFrontendNode class' model_name and temperature fields
2023-04-28 19:17:38 -03:00
anovazzi1
cde48131e3
fix bug on event prevent default
2023-04-28 17:59:23 -03:00
Gabriel Almeida
8e2342cf21
feat(loading.py): add validation for pydantic BaseModel subclasses
...
This commit adds validation for pydantic BaseModel subclasses in the
instantiate_class function. The function now checks if the class_object
is a subclass of BaseModel and if so, it validates the params passed to
it against the fields of the class_object.
2023-04-28 17:22:51 -03:00
Aaron ("AJ") Steers
be9497718f
docs: add readme guide
2023-04-28 18:56:16 +00:00
Aaron ("AJ") Steers
9252d34d04
chore: autoformat
2023-04-28 18:56:16 +00:00
Aaron ("AJ") Steers
88fabf93b0
chore: rename base devcontainer, add dind, add postcreate poetry install
2023-04-28 18:56:16 +00:00
Aaron ("AJ") Steers
5faf0f6dc7
feat: add demo devcontainer
2023-04-28 18:56:16 +00:00
Gabriel Almeida
357d13b1a9
refactor(validate.py): change wrapped_function from async to sync
...
fix(test_chains_template.py): set prompt show value to False for mid_journey_prompt_chain and time_travel_guide_chain tests
2023-04-28 15:45:53 -03:00
Gabriel Almeida
07863ea098
test(websocket.py): change websocket endpoint from /ws/test_client to /chat/test_client
...
test(websocket.py): update assertions to match new endpoint and response format
2023-04-28 15:44:18 -03:00
Gabriel Almeida
2bc1fdd32e
prettier
2023-04-28 14:46:05 -03:00
Gabriel Almeida
e4b4cf19a2
refactor(GenericNode): remove commented out code and add comments to code
...
feat(GenericNode): add validation check for node changes by comparing length of nodes and edges array
2023-04-28 14:43:27 -03:00
Gabriel Almeida
d52e7700c0
fix(nodes.py): set prompt field as not required and show it if no prompt is provided
2023-04-28 14:42:38 -03:00
Gabriel Almeida
35b4b50b8f
Merge remote-tracking branch 'origin/websocket' into chat_and_cache
2023-04-28 09:58:10 -03:00
anovazzi1
e92cf1110a
change chat shortcut to ctrl+k and handled websocket errors
2023-04-27 23:23:51 -03:00
Gabriel Almeida
6e2b4b01dc
style(dropdownComponent): add dark mode support to dropdown component options and background color
2023-04-27 20:52:53 -03:00
anovazzi1
69c7bbb0a9
fixed wrong bolean logic, now show in modal only if show is true
2023-04-27 20:48:52 -03:00
anovazzi1
1f9cc38fd8
Merge branch 'dev' into NodeModal
2023-04-27 20:37:04 -03:00
anovazzi1
65172707d9
Merge branch 'dev' into NodeModal
2023-04-27 20:22:21 -03:00
anovazzi1
be25947f55
check if show if false to add item on advanced modal
2023-04-27 19:36:37 -03:00
anovazzi1
a75f22fe21
update template working for import
2023-04-27 19:29:50 -03:00
anovazzi1
d91beb9cda
update template working for local flow on browser
2023-04-27 19:24:02 -03:00
Gabriel Almeida
45c04befe7
refactor(Makefile): rename run_backend target to backend and add install_backend target
...
feat(Makefile): add frontend target to install and run frontend app using npm
2023-04-27 17:24:25 -03:00
Gabriel Luiz Freitas Almeida
700061ce19
Update the Semver Specifier for langchain to allow for all <0.1.0 versions. ( #86 )
2023-04-27 17:13:21 -03:00
Gabriel Almeida
7659fbffcd
chore(pyproject.toml): update langchain dependency from ~0.0.113 to ~0.0.150
2023-04-27 17:04:35 -03:00
Gabriel Almeida
917cc51148
Refactor alertDropDown components
...
Adjust singleAlertComponent's formatting for better readability and add a custom hook to handle click outside functionality in alertDropdown component.
2023-04-27 17:01:51 -03:00
Gabriel Luiz Freitas Almeida
10cabefa5a
Merge branch 'dev' into task/update_langchain_semver
2023-04-27 16:58:50 -03:00
Gabriel Luiz Freitas Almeida
d78f8bea2c
Merge branch 'main' into task/update_langchain_semver
2023-04-27 16:57:22 -03:00
Gabriel Almeida
cdfaed1999
style(dropdownComponent): add dark mode support to dropdown button background color
2023-04-27 15:20:19 -03:00
Gabriel Almeida
a067b38d9a
build(pyproject.toml): add pytest-cov package to dev dependencies
2023-04-27 15:03:11 -03:00
Gabriel Almeida
3b5b63e070
refactor(loading.py): add comment explaining type ignore for agent variable
2023-04-27 15:03:11 -03:00
Gabriel Almeida
f00420ecbe
feat(custom.py): pass llm parameter to SQLDatabaseToolkit constructor
2023-04-27 15:03:11 -03:00
Gabriel Almeida
5610073386
chore(pyproject.toml): update package version from 0.0.58 to 0.0.59
2023-04-27 15:03:11 -03:00
Gabriel Almeida
7309734307
chore(pyproject.toml): update langchain dependency from 0.0.131 to 0.0.150
2023-04-27 15:03:11 -03:00
Gabriel Almeida
7a951dcc59
refactor(cache/manager.py): extract add method to reduce code duplication
...
feat(cache/manager.py): add support for custom extensions when adding objects to cache
2023-04-27 12:11:02 -03:00
Gabriel Almeida
1e8f342037
feat(frontend): add support for environment variable NODE_ENV in start script
...
feat(frontend): change proxy to backend container name
feat(chatModal): add support for environment variable NODE_ENV in WebSocket connection
2023-04-27 10:16:28 -03:00
Gabriel Almeida
cdc6d2994a
Refactor WebSocket connection to new port number 7860 in Makefile and add file upload support to ChatModal component.
2023-04-27 09:53:31 -03:00
Gabriel Almeida
01c23d6d8b
style(chatMessage): add full width to chat message container
2023-04-26 10:04:25 -03:00
Gabriel Almeida
553ba98337
Merge remote-tracking branch 'origin/websocket' into chat_and_cache
2023-04-26 09:05:29 -03:00
Gabriel Almeida
9cf286d4d3
refactor(base.py): remove print statement from ToolCreator class
2023-04-26 09:02:57 -03:00
anovazzi1
4f7630fa05
think bug fixed
2023-04-26 01:37:56 -03:00
Gabriel Luiz Freitas Almeida
63e10f8786
refactor(validate.py): extract build_graph function to langflow.inter… ( #204 )
2023-04-26 01:29:09 -03:00