Commit graph

3,289 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
de110151be 🔒 chore(pyproject.toml): update huggingface-hub version to "^0.16.0" and add "inference" extra to improve compatibility and functionality
🔥 refactor(pyproject.toml): remove unnecessary dependencies from the "local" extra to simplify the project configuration
2023-07-26 08:28:17 -03:00
Gabriel Luiz Freitas Almeida
260e8c7f02 🔧 chore(README.md): remove unnecessary hyphen in Table of Contents
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Installation section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Command Line Interface (CLI) section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Usage section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Deploy Langflow on Jina AI Cloud section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Deploy on Railway section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Deploy on Render section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Contributing section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in License section
2023-07-26 08:08:50 -03:00
Gabriel Luiz Freitas Almeida
73516f387e Merge remote-tracking branch 'origin/main' into optional_deps 2023-07-23 13:16:33 -03:00
Gabriel Luiz Freitas Almeida
5309a2fd6a change name of group dev 2023-07-23 13:16:16 -03:00
Gustavo Schaedler
b216d8754b
Hotfix: 0.3.3 (#670)
Added google_cse_id on GoogleSearchAPIWrapper component.

Updated list of maintainers with @igorrCarvalho , @carlosrcoelho and
@rodrigosnader
2023-07-21 22:05:18 +01:00
Gabriel Luiz Freitas Almeida
79269e1395
Merge branch 'main' into release 2023-07-21 18:00:45 -03:00
Gabriel Luiz Freitas Almeida
987783eda1 🔖 chore(pyproject.toml): update package version to 0.3.3
🔧 chore(pyproject.toml): update maintainers list with new team members Carlos Coelho, Igor Carvalho, and Rodrigo Nader
2023-07-21 17:57:27 -03:00
Gabriel Luiz Freitas Almeida
054c6d8900 🔧 chore(constants.py): add 'google_cse_id' to FORCE_SHOW_FIELDS list to include it in the forced display fields 2023-07-21 17:47:48 -03:00
Gabriel Luiz Freitas Almeida
1f4f38345c
Hotfix: 0.3.2 (#663)
Fixes #661
2023-07-20 11:32:25 -03:00
Gabriel Luiz Freitas Almeida
9fd026aa54
Merge branch 'main' into release 2023-07-20 10:11:04 -03:00
Carlos Coelho
fbb2b32cbb
Documentation Components - Reference (#655) 2023-07-20 09:37:52 -03:00
Gabriel Luiz Freitas Almeida
558e0d75ab
Merge branch 'main' into release 2023-07-20 07:21:20 -03:00
Gabriel Luiz Freitas Almeida
74eece1237 🔖 chore(pyproject.toml): update package version to 0.3.2
🔖 chore(pyproject.toml): update langchain dependency to version 0.0.237
2023-07-20 07:12:57 -03:00
Gabriel Luiz Freitas Almeida
1ab0dd6257 🐛 fix(main.py): add error handling for non-existent static files directory 2023-07-20 07:11:46 -03:00
Gabriel Luiz Freitas Almeida
55f468be3d 🐛 fix(chat.py): add exception logging to track errors in stream_build function 2023-07-20 06:59:04 -03:00
Gabriel Luiz Freitas Almeida
e648ac4f41 🐛 fix(types.py): convert avg_length to an integer to improve readability in DocumentLoaderVertex and TextSplitterVertex 2023-07-20 06:58:39 -03:00
Gabriel Luiz Freitas Almeida
0cf37f4f1f 🐛 fix(base.py): add check to initialize empty list for params[key] if it doesn't exist before extending it with built values
Fixes textsplitter error #661
2023-07-20 06:58:21 -03:00
Rodrigo Nader
ce240aedf6 add docs with components 2023-07-18 15:08:00 -03:00
carlosrcoelho
5d2a29a436 add docs 2023-07-18 14:59:27 -03:00
Gabriel Luiz Freitas Almeida
ab61890997 🔀 refactor(main.py): extract get_static_files_dir() function to improve code readability and reusability
🔀 refactor(main.py): simplify setup_app() function by using get_static_files_dir() function to get static files directory
2023-07-18 07:26:30 -03:00
Gabriel Luiz Freitas Almeida
82b973de43 🔧 fix(frontend_node/textsplitters.py): add is_list=True to the 'documents' parameter to indicate it is a list
🔧 fix(frontend_node/vectorstores.py): add is_list=True to the 'field' parameter to indicate it is a list
2023-07-14 18:37:30 -03:00
Gabriel Luiz Freitas Almeida
24273e3931
Hotfix: 0.3.1 (#648) 2023-07-14 21:04:06 +00:00
Gabriel Luiz Freitas Almeida
0450c4c8cc 🔖 chore(pyproject.toml): bump langchain version from 0.0.232 to 0.0.233
🔖 chore(pyproject.toml): bump package version from 0.3.0 to 0.3.1
2023-07-14 17:58:40 -03:00
Lucas Oliveira
7048196682 Fixed tweaks appearing as list 2023-07-14 17:53:08 -03:00
Gabriel Luiz Freitas Almeida
88511f1016 🔧 fix(chatMessage): adjust className to fix layout issue in ChatMessage component
🔧 fix(genericModal): reformat import statements and fix indentation in GenericModal component
🔧 fix(genericModal): adjust className to fix layout issue in GenericModal component
🔧 fix(genericModal): fix indentation and add missing closing tag in GenericModal component
2023-07-14 09:17:09 -03:00
Gabriel Luiz Freitas Almeida
3effba2dbd 🐛 fix(API/index.ts): update examples API URL to use the 'main' branch instead of 'fix_examples' branch 2023-07-14 09:16:15 -03:00
Gabriel Luiz Freitas Almeida
0ec0be6770
Release 0.3.0 (#644) 2023-07-13 21:39:30 +00:00
Rodrigo Nader
5d3a7f06a8 Docs - Grammar improvements 2023-07-13 18:35:16 -03:00
carlosrcoelho
afaf2dac8c Add new documentation for chat interface and prompt customization
- Added new files for chat interface and prompt customization in the guidelines section
- Added descriptions and images for the chat interface and prompt customization features
- Updated the sidebars to include the new documentation pages
2023-07-13 16:58:47 -03:00
Rodrigo Nader
c86100b875 Change step-by-step guides names 2023-07-13 16:44:27 -03:00
Rodrigo Nader
c2cd390d7d
Adding docs for release (#640)
This PR adds the docs for the release of the improved prompt and chat
experience.
2023-07-13 16:22:26 -03:00
Gabriel Luiz Freitas Almeida
5e8ac59a83
Bug Fixes and Style Updates (#643) 2023-07-13 18:53:23 +00:00
Gabriel Luiz Freitas Almeida
9f5fbbec45 🚀 chore(pyproject.toml): update package version from 0.2.13 to 0.3.0 to reflect new changes and improvements
⬆️ chore(pyproject.toml): update langchain dependency from version 0.0.229 to 0.0.232 to ensure compatibility with other packages
2023-07-13 15:51:49 -03:00
Gabriel Luiz Freitas Almeida
38da096245 🐛 fix(base.py): rename _remove_invalid_nodes() to _validate_nodes() for clarity and accuracy
🔥 chore(base.py): remove unnecessary check for single node and no edges in _validate_nodes()
🔥 chore(base.py): remove unused import statement
🔥 chore(base.py): remove unused _validate_node() method
🔥 chore(base.py): remove unused import statement
2023-07-13 15:01:08 -03:00
Cristhian Zanforlin Lousa
f2724f1116 🐛 fix(tabsContext.tsx): update stroke color of edges to use a shorter hex code for better readability
🐛 fix(tabsContext.tsx): update stroke color of edges to use a consistent color code for better consistency
2023-07-13 14:34:28 -03:00
Gabriel Luiz Freitas Almeida
b0db72c9fd 📝 docs(chatprompttemplate_guide.mdx): update interactive guide URL and add step-by-step instructions for customization and building a chatbot with custom system messages
📝 docs(loading_document.mdx): update interactive guide URL and add step-by-step instructions for integrating a document into a PromptTemplate variable
📝 docs(sidebars.js): add "chatprompttemplate_guide" to the Guides section
2023-07-13 14:07:10 -03:00
Gabriel Luiz Freitas Almeida
495a806a32 📝 docs(chatprompttemplate_guide.mdx): add step-by-step guide to customize and build a chatbot with a custom system message
This commit adds a new file `chatprompttemplate_guide.mdx` which contains a step-by-step guide on how to customize and build a chatbot with a custom system message. The guide includes instructions on how to modify the "Basic Chat with Prompt and History" example by integrating the `ChatPromptTemplate`, `SystemMessagePromptTemplate`, and `HumanMessagePromptTemplate` components. It also provides tips on setting the model, defining variables, and testing the chatbot. The guide aims to help users create a personalized chatbot that can interpret and respond based on user-defined system messages.

Co-authored-by: [Author Name] <author@example.com>
2023-07-13 13:56:50 -03:00
Cristhian Zanforlin Lousa
0e40bb0a87 🐛 fix(index.css): swap colors for chat bot and chat user icons to match their respective roles 2023-07-13 13:37:33 -03:00
Cristhian Zanforlin Lousa
36844cdcdb 🔧 fix(constants.tsx): reduce MAX_WORDS_HIGHLIGHT from 110 to 79 to limit the number of highlighted words in tooltips
🔥 chore(genericModal/index.tsx): remove console.log statement
2023-07-13 12:17:22 -03:00
Cristhian Zanforlin Lousa
fe2525750e 🔧 chore(constants.tsx): add constant MAX_WORDS_HIGHLIGHT with a value of 110 for the maximum number of words to highlight in tooltips
🔧 chore(index.css): add CSS class .code-nohighlight with different max-height value for tooltips with fewer words to display
🔧 chore(genericModal/index.tsx): add logic to dynamically apply CSS class .code-nohighlight to tooltips with fewer words to display
2023-07-13 11:37:02 -03:00
Cristhian Zanforlin Lousa
cc11213a0f 🎨 style(index.css): update color variables for chat bot and user icons for better visual distinction
🎨 style(index.css): update class names for code block modal span and button for better readability
🎨 style(index.css): update class name for code highlight block to limit max height
🐛 fix(chatMessage/index.tsx): update max width classes for markdown content to improve responsiveness
🐛 fix(genericModal/index.tsx): add missing useRef declarations for divRef and divRefPrompt
🐛 fix(genericModal/index.tsx): update class name for code highlight textarea to fix styling issue
🐛 fix(genericModal/index.tsx): add missing ref prop to Textarea component
🐛 fix(genericModal/index.tsx): add missing ref prop to div element for prompt variables
🐛 fix(genericModal/index.tsx): add missing ref prop to div element for prompt variables
2023-07-13 10:53:04 -03:00
Gabriel Luiz Freitas Almeida
5d81e2f2d8 📝 docs(loading_document.mdx): update title and content to provide a clearer and more comprehensive guide on how to populate a Prompt variable with a document
 feat(loading_document.mdx): add step-by-step instructions on how to define a Prompt variable and connect a WebBaseLoader to it for loading a document into the variable

🔀 chore(loading_document.mdx): reorganize and rephrase the content to improve readability and clarity
2023-07-13 09:02:10 -03:00
Rodrigo Nader
28a8b1f1da change input to border-border 2023-07-13 01:15:18 -03:00
Rodrigo Nader
5727dbde8f add border-border to input-edit 2023-07-13 01:09:15 -03:00
Gabriel Luiz Freitas Almeida
924bf56ba1 📚 docs(sidebars.js): add new category "Guides" with an item "loading_document" to the sidebar to improve navigation and organization of documentation 2023-07-12 22:03:56 -03:00
Gabriel Luiz Freitas Almeida
82701d7bf6 📝 docs(loading_document.mdx): add guide on loading a document into a Prompt variable
This commit adds a new guide file `loading_document.mdx` that provides an overview and example on how to load a document into a Prompt variable. The guide explains the process of defining a Prompt variable in the `PromptTemplate` component, connecting a `WebBaseLoader` to the variable, and building the flow. It also demonstrates how to chat with the document content in the context of a conversation.

The commit also includes an embedded iframe that showcases the functionality described in the guide.
2023-07-12 22:03:29 -03:00
Gabriel Luiz Freitas Almeida
d106490ac6 🔧 chore(Footer.js): add missing import for useDocusaurusContext hook to fix build error 2023-07-12 21:54:57 -03:00
Gabriel Luiz Freitas Almeida
6d72a561aa
Merge docs to dev (#638) 2023-07-12 19:37:21 -03:00
Gabriel Luiz Freitas Almeida
6a877a246b fix: add custom fields 2023-07-12 19:35:04 -03:00
Gabriel Luiz Freitas Almeida
04e3b42265 📦 chore(package.json): update "@mendable/search" dependency to version "^0.0.114" for bug fixes and improvements 2023-07-12 19:34:23 -03:00