Commit graph

3,264 commits

Author SHA1 Message Date
Cristhian Zanforlin Lousa
662d4e81ae 🔧 chore(AccordionComponent): reformat code to improve readability and maintain consistent code style 2023-07-17 19:41:04 -03:00
Cristhian Zanforlin Lousa
f9fdc6786c 🐛 fix(AccordionComponent/index.tsx): remove border from AccordionItem to improve visual consistency
 feat(AccordionComponent/index.tsx): add className "AccordionContent" to AccordionContent component for styling purposes
2023-07-17 19:40:23 -03:00
Cristhian Zanforlin Lousa
eb76a51266 formatting 2023-07-17 19:32:37 -03:00
Cristhian Zanforlin Lousa
69380447b0 🎨 style(AccordionComponent): change border style of AccordionItem to improve visual consistency 2023-07-17 15:46:25 -03:00
Cristhian Zanforlin Lousa
8317fecc24 🎨 style(index.css): add animation for accordion content to slide down and slide up for better user experience
🔧 chore(tailwind.config.js): remove unused keyframes and animations related to accordion
2023-07-17 15:27:15 -03: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
Gabriel Luiz Freitas Almeida
2d148afd27 📝 docs(docusaurus.config.js): update title and tagline to use consistent naming convention for Langflow
🔧 chore(docusaurus.config.js): update logo alt text to match the updated title
🔧 chore(docusaurus.config.js): update announcementBar content to use consistent naming convention for Langflow
2023-07-12 19:31:03 -03:00
Gabriel Luiz Freitas Almeida
049ba108bb fix: LangFlow -> Langflow 2023-07-12 19:30:37 -03:00
Gabriel Luiz Freitas Almeida
5bf79a5b4a 🔀 chore(deploy_gh-pages.yml): update branch trigger from 'lf-docs-fix' to 'main' for GitHub Pages deployment workflow 2023-07-12 19:01:02 -03:00
Gabriel Luiz Freitas Almeida
27d4de3ed2 🔧 chore(docusaurus.config.js): remove deploymentBranch configuration to avoid confusion and improve clarity 2023-07-12 18:56:44 -03:00
Gabriel Luiz Freitas Almeida
d10ed2f7eb 📝 docs(static): add CNAME file with langflow.org as the custom domain for the documentation site 2023-07-12 18:53:22 -03:00
Gabriel Luiz Freitas Almeida
032d0eb65a
Merge branch 'dev' into lf-docs-fix 2023-07-12 18:43:57 -03:00
Gabriel Luiz Freitas Almeida
963a6b0d31 🔥 chore(.gitignore): add .docusaurus/ directory to ignore list to exclude Docusaurus generated files from version control 2023-07-12 18:42:55 -03:00
Gabriel Luiz Freitas Almeida
b98fb4b4fa 🔧 chore(deploy_gh-pages.yml): add cache dependency path for npm cache to include ./docs/package-lock.json
🔧 chore(deploy_gh-pages.yml): update node version to 18 for the deployment job
2023-07-12 18:30:36 -03:00
Gabriel Luiz Freitas Almeida
2de7fe1c13 📝 chore(deploy_gh-pages.yml): add GitHub Actions workflow to deploy to GitHub Pages
This commit adds a new GitHub Actions workflow file, `deploy_gh-pages.yml`, which is responsible for deploying the project to GitHub Pages. The workflow is triggered on pushes to the `lf-docs-fix` branch.

The workflow consists of the following steps:
1. Checkout the repository
2. Set up Node.js environment with version 18 and npm caching
3. Install dependencies for the documentation
4. Build the website
5. Deploy the built website to GitHub Pages using the `peaceiris/actions-gh-pages` action
   - The deployment is done to the `gh-pages` branch
   - The build output is published from the `./docs/build` directory
   - The commit authorship is assigned to the official GH-Actions bot

This workflow enables automatic deployment of the documentation to GitHub Pages whenever changes are pushed to the `lf-docs-fix` branch.
2023-07-12 18:28:45 -03:00
Gabriel Luiz Freitas Almeida
7034660af2 removing build files 2023-07-12 18:20:12 -03:00
Gabriel Luiz Freitas Almeida
803914bf07 🔧 chore(docusaurus.config.js): format code and fix linting issues
🔧 chore(sidebars.js): format code and fix indentation
2023-07-12 18:04:23 -03:00
Lucas Oliveira
3b41e189d3 Chat behavior fixed when there is no input variables empty 2023-07-11 23:04:36 -03:00
Lucas Oliveira
fcfe927255 changed separator 2023-07-11 22:53:41 -03:00
Lucas Oliveira
6a9c00bd3a Merge branch 'dev' of github.com:logspace-ai/langflow into dev 2023-07-11 22:51:17 -03:00
Lucas Oliveira
6ba70af2b9 added padding on highlight 2023-07-11 22:50:12 -03:00
Rodrigo Nader
717c8400fe change dark primary color 2023-07-11 22:42:35 -03:00
Lucas Oliveira
562792938e Fixed notification center styling 2023-07-11 22:32:19 -03:00
Lucas Oliveira
fb10a0d5f4 Fixed UI of Prompt Modal on Generic Modal 2023-07-11 22:29:00 -03:00
Lucas Oliveira
4ece1f13ff Fixed button appearing at start 2023-07-11 21:35:31 -03:00
Lucas Oliveira
9ec48cbd17 Fixed generic modal to use baseModal and fixed inputVariables to show on footer 2023-07-11 21:33:13 -03:00
Lucas Oliveira
7979f3c02e Fixed constant not used correctly 2023-07-11 21:08:21 -03:00
Lucas Oliveira
aba0ed40da Edit Prompt modal and other generic modals spacing fixed 2023-07-11 21:06:35 -03:00