dc6a5ac73a🔄 refactor(popover.tsx): reorder exported components to improve readability and consistency
Gabriel Luiz Freitas Almeida
2023-08-10 13:46:57 -03:00
5cbb86b184🐛 fix(utils.py): add UnbuiltObject class to improve code readability and maintainability
Gabriel Luiz Freitas Almeida
2023-08-10 13:46:25 -03:00
7933667973🚀 feat(constants.py): import AgentExecutor from langchain.agents.agent module to use it in LANGCHAIN_BASE_TYPES dictionary 🔀 chore(constants.py): remove unnecessary import statements
Gabriel Luiz Freitas Almeida
2023-08-10 13:45:58 -03:00
ad33deb1a3🚀 feat(select-custom.tsx): add custom select component for UI consistency and reusability 🔄 refactor(nodeToolbarComponent/index.tsx): update import path for select component to reflect new location
Cristhian Zanforlin Lousa
2023-08-10 12:55:04 -03:00
84a2231142🔧 chore(frontend): add @radix-ui/react-select package to package.json dependencies 🔧 chore(frontend): add SelectTrigger component to handle select triggers in UI components 🔧 chore(frontend): add Select component to handle select inputs in UI components 🔧 chore(frontend): add EditNodeModal component to handle editing of node data in modals
Cristhian Zanforlin Lousa
2023-08-10 12:54:35 -03:00
cc4008c861🐛 fix(custom_component.py): fix incorrect usage of type_hint variable in if condition
Gabriel Luiz Freitas Almeida
2023-08-10 11:43:46 -03:00
f54a60db28Merge branch 'authentication' into login
anovazzi1
2023-08-10 11:31:22 -03:00
83631606d3🐛 fix(manager.py): fix undefined variable 'database_url' error in _create_engine method ✨ feat(manager.py): add support for SQLite database by setting connect_args in create_engine method
Gabriel Luiz Freitas Almeida
2023-08-10 11:30:06 -03:00
d6d5aae1efMerge branch 'authentication' into login
anovazzi1
2023-08-10 10:44:48 -03:00
f7fdc5d7bcfeat(App.tsx): add support for displaying header component on all pages except login and signup pages to improve user experience
anovazzi1
2023-08-10 10:33:01 -03:00
3d8d44538fMerge branch 'release' into dev
Gabriel Luiz Freitas Almeida
2023-08-10 10:10:28 -03:00
df77ba81f7🐛 fix(custom_component.py): fix condition to check if Optional type hint is used but not imported in the code
Gabriel Luiz Freitas Almeida
2023-08-10 09:24:10 -03:00
564634d36c🐛 fix(directory_reader.py): handle SyntaxError when parsing code to prevent crashes 🐛 fix(directory_reader.py): return False if code is not valid Python to prevent false positives 🐛 fix(directory_reader.py): fix method name from is_type_hint_used_but_not_imported to _is_type_hint_used_in_args for consistency 🐛 fix(directory_reader.py): fix method name from is_type_hint_imported to _is_type_hint_imported for consistency 🐛 fix(directory_reader.py): fix return value of _is_type_hint_used_in_args method to return False if type hint is used but not imported
Gabriel Luiz Freitas Almeida
2023-08-10 09:23:36 -03:00
261e258ed4🐛 fix(loading.py): make a copy of the params before modifying it to prevent unintended side effects
Gabriel Luiz Freitas Almeida
2023-08-10 09:23:02 -03:00
add waitlist button on header (#742)
Gabriel Luiz Freitas Almeida
2023-08-10 07:59:03 -03:00
33944e5bafrefactor[loginPage]: Refactor login Page to use Form UI Radix Modal
igorrCarvalho
2023-08-10 03:22:18 -03:00
69ec2681bdrefactor[signUpPage]: refactor sign up page to use radix ui form modal
igorrCarvalho
2023-08-10 02:26:06 -03:00
97bf39143dfix to allow running the backend on port 443 without https (wss protocol is required even without an SSL certificate)
Dave Morris
2023-08-09 20:08:36 -05:00
b0a2258232🔧 chore(OpenAIConversationalAgent.py): add display names for 'tools', 'memory', 'system_message', and 'max_token_limit' parameters to improve readability and user experience
Gabriel Luiz Freitas Almeida
2023-08-09 22:06:33 -03:00
33ef3b0a7e🐛 fix(OpenAIConversationalAgent.py): ignore type errors for memory_key, system_message, prompt, agent, and tools variables ✨ feat(OpenAIConversationalAgent.py): add support for return_intermediate_steps parameter in AgentExecutor constructor to enable returning intermediate steps during conversation
Gabriel Luiz Freitas Almeida
2023-08-09 21:58:25 -03:00
1dcdc02e4f🚀 feat(constants.py): import BaseChatMemory from langchain.memory.chat_memory module to add support for chat memory in custom interfaces
Gabriel Luiz Freitas Almeida
2023-08-09 21:49:20 -03:00
5d226d43d1🐛 fix(OpenAIConversationalAgent.py): change parameter name from model_name to model to improve clarity and consistency
Gabriel Luiz Freitas Almeida
2023-08-09 21:48:40 -03:00
44f4fc1e62✨ feat(OpenAIConversationalAgent.py): add implementation of ConversationalAgent class for OpenAI conversational agent
Gabriel Luiz Freitas Almeida
2023-08-09 21:38:39 -03:00
31e02fe25c✨ feat(ConversationalAgent.py): add ConversationalAgent component to handle conversational interactions using OpenAI's function calling API
Gabriel Luiz Freitas Almeida
2023-08-09 21:37:11 -03:00
2725e24ced🚀 feat(constants.py): add BaseMemory to LANGCHAIN_BASE_TYPES to support custom memory implementation in Langchain interface
Gabriel Luiz Freitas Almeida
2023-08-09 21:11:00 -03:00
67f8bb9dab🐛 fix(base.py): fix memory inputs only if langchain_object is not an instance of AgentExecutor to prevent unnecessary fix
Gabriel Luiz Freitas Almeida
2023-08-09 21:10:31 -03:00
Add Admin Login Page with User Management (#737)
anovazzi1
2023-08-09 19:46:41 -03:00
5009715835🔧 fix(PaginatorComponent): remove unused imports and replace lucide-react icons with IconComponent for better modularity and reusability ✨ feat(PaginatorComponent): add support for custom icons using IconComponent for better customization options 🔧 fix(UserManagementModal): remove unused imports and fix import order for better organization ✨ feat(UserManagementModal): add password confirmation validation and reset form on modal open for better user experience 🔧 fix(UserManagementModal): fix modal size to be full height for better visibility and usability ✨ feat(UserManagementModal): add form fields for username and password with validation for better user input handling 🔧 fix(UserManagementModal): fix form field labels and error messages for better clarity and user guidance ✨ feat(UserManagementModal): add form submission and confirmation handling for better user interaction and data management 🔧 fix(UserManagementModal): fix cancel button styling for better consistency and user experience
Cristhian Zanforlin Lousa
2023-08-09 19:33:46 -03:00
Adds Join The Waitlist button, Vectara, Metaphor in Beta and other fixes (#744)
Gabriel Luiz Freitas Almeida
2023-08-09 17:51:47 -03:00
8c41415a32🐛 fix(custom_component.py): handle case when return_type is None to prevent errors 🐛 fix(test_custom_component.py): update assertion to expect return_type as a list instead of a string 🐛 fix(test_vectorstore_template.py): update assertion to check if all vectorstores in settings are present in the response
Gabriel Luiz Freitas Almeida
2023-08-09 17:50:03 -03:00
f065a46950Merge remote-tracking branch 'origin/dev' into authentication
gustavoschaedler
2023-08-09 21:46:08 +01:00
Adds Vectara VectorStore and Metaphor Toolkit (#743)
Gabriel Luiz Freitas Almeida
2023-08-09 17:40:26 -03:00
e1407d0595🔧 chore(Metaphor.py): refactor build method to accept additional parameters for improved configurability 🔧 chore(Metaphor.py): update search method to use the provided parameters for use_autoprompt and search_num_results 🔧 chore(Metaphor.py): update find_similar method to use the provided parameter for similar_num_results
Gabriel Luiz Freitas Almeida
2023-08-09 17:12:22 -03:00
89c3306512🔒 chore(poetry.lock): update aiofiles version from 23.2.0 to 23.2.1 to fix a bug related to file support for asyncio 🔒 chore(poetry.lock): update dnspython version from 2.4.1 to 2.4.2 to fix a bug related to DNS toolkit
Gabriel Luiz Freitas Almeida
2023-08-09 15:53:45 -03:00
29766ecaf0🐛 fix(Metaphor.py): ignore type error for importing Metaphor from metaphor_python 🐛 fix(Metaphor.py): ignore type error for returning a list with mixed types 🐛 fix(Vectara.py): add condition to check if documents and embedding are not None before creating Vectara instance 🐛 fix(CustomComponent.py): change return type of get_function_entrypoint_return_type to List[str] to match the actual return value
Gabriel Luiz Freitas Almeida
2023-08-09 15:53:18 -03:00
9bbdd9465b🔨 refactor(Vectara.py): reorganize function parameters for better readability and maintainability 🔧 chore(Vectara.py): add "embedding" parameter to the build function to support custom embeddings in VectaraComponent
Gabriel Luiz Freitas Almeida
2023-08-09 15:47:22 -03:00
e5e23a1da6🐛 fix(component.py): add support for "documentation" field in template_config to properly handle component documentation 🐛 fix(types.py): update_attributes function now updates frontend_node with "documentation" field from template_config
Gabriel Luiz Freitas Almeida
2023-08-09 15:32:41 -03:00
38b6831b57✨ feat(Metaphor.py): add MetaphorToolkit component to langflow toolkit
Gabriel Luiz Freitas Almeida
2023-08-09 15:29:11 -03:00
d16d916952🐛 fix(custom_component.py): improve parsing of return type in CustomComponent class
Gabriel Luiz Freitas Almeida
2023-08-09 15:28:39 -03:00
639550d537🔧 chore(pyproject.toml): add metaphor-python dependency to improve code analysis and documentation generation ⬆️ feat(pyproject.toml): upgrade black dependency to version 23.1.0 for code formatting
Gabriel Luiz Freitas Almeida
2023-08-09 15:26:51 -03:00
b3e512f55f✨ feat(PromptRunner.py): add PromptRunner component to run a Chain with a given PromptTemplate ✨ feat(Vectara.py): add VectaraComponent to implement Vector Store using Vectara 🔧 chore(vectorstores): add empty __init__.py file to the vectorstores directory
Gabriel Luiz Freitas Almeida
2023-08-09 14:37:20 -03:00
72f88e1a16🐛 fix(custom_component.py): handle return_type as a Union[type1, type2] and add support for multiple return types in add_base_classes function 🐛 fix(types.py): handle multiple return types in add_base_classes function and raise HTTPException with appropriate error message if return type is invalid
Gabriel Luiz Freitas Almeida
2023-08-09 14:36:45 -03:00
c9e489a195🔖 chore(pyproject.toml): bump version from 0.4.5 to 0.4.6 for langflow package
Gabriel Luiz Freitas Almeida
2023-08-09 13:50:14 -03:00
26345cc9a6📦 chore(frontend): update package.json to add @radix-ui/react-form dependency 🔨 refactor(PaginatorComponent): remove unnecessary whitespace in paginate prop 📝 docs(ConfirmationModal): add missing JSDoc comments and improve code readability 📝 docs(UserManagementModal): add missing JSDoc comments and improve code readability 🔨 refactor(baseModal): improve code readability by adding a div wrapper for headerChild
Cristhian Zanforlin Lousa
2023-08-09 12:13:58 -03:00
Refactoring: Rename Generic Variable Names to More Descriptive Ones (#725)
anovazzi1
2023-08-09 11:21:34 -03:00
21fb5aad6cstyle(headerComponent): capitalize the first letter of "The" in "Join The Waitlist" for consistency and readability
anovazzi1
2023-08-09 10:59:50 -03:00
181beb810estyle(headerComponent): capitalize the first letter of "join the waitlist" to improve consistency and readability
anovazzi1
2023-08-09 10:44:25 -03:00
24cc59674bchore(headerComponent): remove commented out code for waitlist link
anovazzi1
2023-08-09 10:28:50 -03:00
be14d45589🐛 fix(utils.py): handle CommandError when running migrations and delete alembic_version table if wrong revision in DB
Gabriel Luiz Freitas Almeida
2023-08-09 10:28:41 -03:00
e922978f27adding VertexAIEmbeddings into config.yaml
Dave Morris
2023-08-09 08:07:59 -05:00
3b04048e75🔥 refactor(custom-component.mdx): remove width property from style to improve responsiveness and avoid fixed width
Gabriel Luiz Freitas Almeida
2023-08-09 09:49:25 -03:00
fix(vector_store.py): change the way pinecone_api_key and pinecone_env are extracted so they don't get passed to the classmethod (#740)
Gabriel Luiz Freitas Almeida
2023-08-09 09:10:09 -03:00
f7afbd89b0🔧 chore(vector_store.py): change the way pinecone_api_key and pinecone_env are retrieved from params dictionary to improve code readability and remove unnecessary code duplication
Gabriel Luiz Freitas Almeida
2023-08-09 08:48:53 -03:00
f4ad8572e7Add zip_path and workspace_url fields
Melvin Hillsman
2023-08-08 00:44:50 -05:00
aa20ae5a56rename environment variable for vite server port
Dave Morris
2023-08-08 20:25:27 -05:00
a99a7fe189fix(headerComponent): fix conditional rendering of waitlist link in header component chore(headerComponent): comment out unused waitlist link in header component chore(applies.css): update styling of waitlist link in header component to match design requirements
anovazzi1
2023-08-08 22:06:14 -03:00
c67aa738eafeat(headerComponent): add "join the waitlist" link to the header component
anovazzi1
2023-08-08 21:55:23 -03:00
9b523ad11cupdate templateName variable to templateField
anovazzi1
2023-08-08 20:59:28 -03:00
d243829893⬆️ chore(pyproject.toml): upgrade python-jose dependency to version 3.3.0 to ensure compatibility and take advantage of new features
gustavoschaedler
2023-08-09 00:56:07 +01:00
fccb004248format code and fix merge errors generated after conflict
anovazzi1
2023-08-08 20:53:39 -03:00
f822581df3🔧 chore(pyproject.toml): add passlib and bcrypt dependencies to improve password hashing and security
gustavoschaedler
2023-08-09 00:47:11 +01:00
303387a3ecMerge branch 'dev' into variables_refactor
anovazzi1
2023-08-08 20:46:18 -03:00
a88bf657a7📦 chore(authContext.tsx): add AuthContext component and its initial value to provide authentication-related data throughout the app 📦 chore(authContext.tsx): add login, logout, and refreshAccessToken functions to handle authentication logic 📦 chore(authContext.tsx): add userData state and setUserData function to store user data 📦 chore(baseModal/index.tsx): add "x-small" size option to BaseModal component to make it smaller 📦 chore(deleteAccountPage/index.tsx): create DeleteAccountPage component to handle account deletion logic 📦 chore(routes.tsx): add route for DeleteAccountPage component under /account/delete path 📦 chore(types/auth.ts): create AuthContextType and userData types to define the shape of authentication-related data
Cristhian Zanforlin Lousa
2023-08-08 20:15:37 -03:00
dd6d1e64f7🔧 chore(frontend): add @radix-ui/react-select package to package.json dependencies 🔧 chore(frontend): add PaginatorComponent and Select component to the project
Cristhian Zanforlin Lousa
2023-08-08 20:10:28 -03:00
bb2b8fbb3dadd support for VertexAIEmbeddings node
Dave Morris
2023-08-08 17:35:50 -05:00
Merge pull request #1 from logspace-ai/dev
Dave Morris
2023-08-08 17:29:36 -05:00
056ce51ad0🐛 fix(login.py): change argument type of create_user_token function from str to User to improve type safety and clarity 🐛 fix(login.py): remove unnecessary type ignore comment in create_user_token function 🐛 fix(login.py): remove unnecessary type ignore comment in return statement of login_to_get_access_token function 🐛 fix(users.py): remove unnecessary async keyword from read_current_user function 🐛 fix(users.py): remove unnecessary async keyword from read_all_users function 🐛 fix(users.py): remove unnecessary async keyword from add_user function 🐛 fix(users.py): remove unnecessary async keyword from add_super_user_to_testing_purposes function
gustavoschaedler
2023-08-08 22:20:53 +01:00
3c6d46021d🔧 chore(user.py): remove unnecessary line breaks and import formatting for better code readability 🔧 chore(main.py): fix indentation and remove unnecessary line breaks for better code readability 🔧 chore(login.py): fix indentation and add missing line breaks for better code readability
gustavoschaedler
2023-08-08 22:09:38 +01:00
1c28979766🔀 refactor(users.py): rename router prefix from "/users" to "Login" to improve clarity and consistency
gustavoschaedler
2023-08-08 22:08:51 +01:00
4af08d99fcMerge remote-tracking branch 'origin/dev' into authentication
gustavoschaedler
2023-08-08 22:05:23 +01:00
Fixes an edge case that causes OperationalError when creating db tables (#734)
Gabriel Luiz Freitas Almeida
2023-08-08 17:52:50 -03:00
ab11bb99a7🔖 chore(pyproject.toml): bump version from 0.4.4 to 0.4.5 for langflow package
Gabriel Luiz Freitas Almeida
2023-08-08 17:51:52 -03:00
d6bb6bf3d9🐛 fix(base.py): handle case where database and tables already exist to prevent error and log a debug message
Gabriel Luiz Freitas Almeida
2023-08-08 17:41:17 -03:00
59a55b4371🔧 fix(auth.py): update import statements to reflect new file structure in langflow package 🔧 fix(auth.py): fix typo in verify_password function call 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect
gustavoschaedler
2023-08-08 21:19:22 +01:00
Merge branch 'main' into release
Gabriel Luiz Freitas Almeida
2023-08-08 16:55:28 -03:00
9f0b460fec🔧 chore(pyproject.toml): update orjson dependency from version 3.9.1 to 3.9.3 🔖 chore(pyproject.toml): update package version from 0.4.3 to 0.4.4
Gabriel Luiz Freitas Almeida
2023-08-08 16:53:36 -03:00
67f0ca7549📦 chore(pyproject.toml): update orjson dependency from version 3.9.1 to 3.9.3 for bug fixes and improvements
Gabriel Luiz Freitas Almeida
2023-08-08 16:50:04 -03:00
4b47f9f196🐛 fix(endpoints.py): add check to skip empty custom_component_dict to prevent potential errors
Gabriel Luiz Freitas Almeida
2023-08-08 16:35:15 -03:00
3170ac665a📝 docs(pyproject.toml): add documentation link to the project configuration file
Gabriel Luiz Freitas Almeida
2023-08-08 16:15:30 -03:00
a6cacbf377Merge branch 'dev' into migrations_service
Gabriel Luiz Freitas Almeida
2023-08-08 16:13:32 -03:00
a40a81b458Merge remote-tracking branch 'origin/main' into dev
Gabriel Luiz Freitas Almeida
2023-08-08 16:12:12 -03:00