Commit graph

3,241 commits

Author SHA1 Message Date
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
Lucas Oliveira
d15c5636a2 Fixed bug on chatMessage 2023-07-11 20:33:46 -03:00
Lucas Oliveira
2c1203c437 Fixed colors on formModal 2023-07-11 20:20:21 -03:00
Lucas Oliveira
0471e99a86 Fixed useEffect bug 2023-07-11 19:58:33 -03:00
anovazzi1
bbdd98209a fix(chatInput): fix CSS class name in ChatInput component to use "bg-background" instead of "bg-input" when form-modal-lock-false condition is met 2023-07-11 18:50:22 -03:00
Gabriel Luiz Freitas Almeida
ee55d729e3
Adds better prompt experience and many other improvements (#621) 2023-07-11 18:35:56 -03:00
anovazzi1
7dc0930ba4 Merge branch 'form_io' of personal:logspace-ai/langflow into form_io 2023-07-11 18:29:41 -03:00
anovazzi1
3f147286ce fix bg of chat input 2023-07-11 18:29:10 -03:00
Gabriel Luiz Freitas Almeida
c159f71b83 🐛 fix(test_chains_template.py): set "show" property of "verbose" to False in conversation_chain, llm_chain, and llm_math_chain tests to fix failing tests due to incorrect value 2023-07-11 18:03:39 -03:00
anovazzi1
f05285e703 added background to fix bug on linux 2023-07-11 17:24:08 -03:00
anovazzi1
33d55ef605 added background to fix bug on linux 2023-07-11 17:22:52 -03:00
Gabriel Luiz Freitas Almeida
39c20fe46b 🐛 fix(EditNodeModal): remove unnecessary whitespace
🐛 fix(exportModal): remove unnecessary whitespace
🐛 fix(tailwind.config.js): fix keyframes names and add missing comma
2023-07-11 17:18:43 -03:00
Gabriel Luiz Freitas Almeida
5001416716 ⬆️ chore(pyproject.toml): update httpx dependency to use wildcard version to allow any compatible version 2023-07-11 17:17:41 -03:00
Gabriel Luiz Freitas Almeida
77ba780d0e 🐛 fix(custom.py): add handle_parsing_errors=True to VectorStoreAgent, SQLAgent, and VectorStoreRouterAgent classes to handle parsing errors during execution
🐛 fix(loading.py): add handle_parsing_errors=True to instantiate_agent and load_agent_executor functions to handle parsing errors during agent instantiation and loading
2023-07-11 17:17:40 -03:00
Igor Carvalho
3de654c8df refactor(google.svg): Add better google svg icon 2023-07-11 17:13:55 -03:00
anovazzi1
cfa13df98d refactor(chatMessage/index.tsx): improve code readability and fix rendering issue
The code in the `ChatMessage` component has been refactored to improve code readability and fix a rendering issue.

- In line 10, the `div` element has been updated to include the `flex flex-col` class for better styling.
- In lines 16-18, the conditional rendering of the `template` has been simplified by removing unnecessary ternary operator and curly braces.
- In lines 21-34, the rendering of the `template` has been updated to correctly split the text into lines and replace placeholders with values.
- In lines 37-39, a line break element (`<br />`) has been added for better visual separation.
- In lines 41-43, the rendering of the `chat.message[chat.chatKey]` has been moved outside the `span` element for correct rendering.

These changes improve the readability of the code and fix the rendering issue in the `ChatMessage` component.
2023-07-11 16:00:56 -03:00
Igor Carvalho
c312c56b14 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-11 15:55:17 -03:00
Igor Carvalho
18f2c58c72 refactor: Add exportModal tailwind constants and remove dark classes 2023-07-11 15:55:05 -03:00
anovazzi1
63e8e927e7 fix(parameterComponent): add null check before calling cleanEdges to prevent error when reactFlowInstance is null 2023-07-11 15:29:48 -03:00
Cristhian Zanforlin Lousa
db5848ea2b 🔧 fix(parameterComponent): remove console.log statement for refNumberComponents variable
🔧 fix(EditNodeModal): change filter method to map method in changeAdvanced function to correctly update advanced property of template object
2023-07-11 14:30:56 -03:00
Cristhian Zanforlin Lousa
d745f90598 🐛 fix(tailwind.config.js): rename keyframes from "accordion-down" to "slideDown" and from "accordion-up" to "slideUp" for better clarity and semantics
 feat(tailwind.config.js): update animation durations for "accordion-down" to 300ms ease-out and "accordion-up" to 300ms ease-in for smoother transitions
2023-07-11 13:59:25 -03:00
anovazzi1
96b432d127 fix(formModal): remove connectWS from dependencies array in useEffect to prevent unnecessary reconnections
fix(formModal): remove connectWS from dependencies array in useEffect to prevent unnecessary reconnections
2023-07-11 11:58:48 -03:00
anovazzi1
7a7efc2afa prompt template bug fix 2023-07-11 10:52:25 -03:00
Gabriel Luiz Freitas Almeida
66d8a104c0 🔥 refactor(utils.ts): remove unused import of HuggingFaceIcon to improve code cleanliness and reduce unused dependencies 2023-07-11 09:25:51 -03:00