Commit graph

138 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
c6be7cdecd Merge remote-tracking branch 'origin/main' into dev 2023-09-13 21:32:51 -03:00
Gabriel Luiz Freitas Almeida
b819f37798 📝 docs(langfuse_integration.mdx): remove reference to troubleshooting section in Langfuse documentation as it is not available
📝 docs(langfuse_integration.mdx): update step 3 to remove mention of consulting Langfuse documentation or contacting support for integration issues
2023-09-11 22:40:47 -03:00
Gabriel Luiz Freitas Almeida
2fe8e29546 Merge branch 'release' into langfuse_integration 2023-08-30 09:53:21 -03:00
Gabriel Luiz Freitas Almeida
383c9dc5ff 📝 docs(text-splitters.mdx): improve formatting and add missing information about LanguageRecursiveTextSplitter and its parameters
🐛 fix(text-splitters.mdx): fix typo in the description of `separators` parameter in `RecursiveCharacterTextSplitter`
2023-08-24 22:23:27 -03:00
anovazzi1
668387dde8 Merge branch 'dev' into bugfix-tweakPage 2023-08-24 17:18:40 -03:00
DiogenesBR
cdd25dbeb2 add some new types to the .gitattributes 2023-08-24 14:56:09 +00:00
Gabriel Luiz Freitas Almeida
061a9c09ba Merge remote-tracking branch 'origin/main' into dev 2023-08-23 21:42:34 -03:00
igorrCarvalho
0ffdaa00a5 Fix: Backspace doesnt work on tweak page 2023-08-23 17:39:34 -03:00
Gabriel Luiz Freitas Almeida
f555c60abc
Merge branch 'main' into release 2023-08-23 19:51:53 +00:00
Gabriel Luiz Freitas Almeida
513bfc1930
Adds GET and POST utility components (#799) 2023-08-22 21:15:12 +00:00
Gabriel Luiz Freitas Almeida
4f2a14bed5 📝 docs(utilities.mdx): add horizontal rule to improve readability and separation of content
📝 docs(utilities.mdx): add description for JSON Document Builder to provide clarity on its purpose
2023-08-22 17:46:07 -03:00
Gabriel Luiz Freitas Almeida
7dc258d580 📝 docs(utilities.mdx): update Utilities section in the sidebar to include the new "Utilities" page
📝 docs(sidebars.js): add "components/utilities" to the Components section in the sidebar
2023-08-22 17:43:15 -03:00
Gabriel Luiz Freitas Almeida
42a268a678 📝 docs(components/utilities.mdx): add documentation for Update Request feature
🚀 feat(UpdateRequest.py): add UpdateRequest component to make PATCH or PUT requests to a given URL
2023-08-22 17:35:20 -03:00
Gabriel Luiz Freitas Almeida
663e648af2 📝 docs(utilities.mdx): update documentation for GET and POST requests to reflect changes in the response format
📝 docs(utilities.mdx): clarify that multiple URLs can be provided for GET requests and the response will be a list of Documents
2023-08-22 16:15:02 -03:00
igorrCarvalho
185754e2cd a 2023-08-22 15:00:14 -03:00
Gabriel Luiz Freitas Almeida
9f617ff6f1 📝 docs(utilities.mdx): update Utilities documentation with additional sections and improve formatting for better readability 2023-08-22 11:56:14 -03:00
Gabriel Luiz Freitas Almeida
022b6e1170 🔺 chore(package.json): update "@mendable/search" dependency from "^0.0.114" to "^0.0.154" to get the latest features and bug fixes 2023-08-22 09:50:09 -03:00
Gabriel Luiz Freitas Almeida
be7cb0763e 📝 docs(langfuse_integration.mdx): update Langfuse integration guide with detailed instructions and explanations
🔀 diff --git a/docs/docs/guides/langfuse_integration.mdx b/docs/docs/guides/langfuse_integration.mdx
🔀 index db23bbdc..51aba962 100644
🔀 --- a/docs/docs/guides/langfuse_integration.mdx
🔀 +++ b/docs/docs/guides/langfuse_integration.mdx
🔀 @@ -1,35 +1,49 @@
🔀 -import ThemedImage from "@theme/ThemedImage";
🔀 -import useBaseUrl from "@docusaurus/useBaseUrl";
🔀 -import ZoomableImage from "/src/theme/ZoomableImage.js";
🔀 -import ReactPlayer from "react-player";
🔀 -
🔀  # Integrating Langfuse with Langflow
🔀
🔀 +## Introduction
🔀 +
🔀 +Langfuse is an open-source tracing and analytics tool designed for LLM applications. Integrating Langfuse with Langflow provides detailed production traces and granular insights into quality, cost, and latency. This integration allows you to monitor and debug your Langflow's chat or APIs easily.
🔀 +
🔀  ## Step-by-Step Instructions
🔀
🔀  ### Step 1: Create a Langfuse account
🔀
🔀 -1. Go to [https://langfuse.com](https://langfuse.com) and click on the "Sign In" button in the top right corner.
🔀 +1. Go to [Langfuse](https://langfuse.com) and click on the "Sign In" button in the top right corner.
🔀  2. Click on the "Sign Up" button and create an account.
🔀 -3. Click on "Settings" and then on "Create new API keys"
🔀 +3. Once logged in, click on "Settings" and then on "Create new API keys."
🔀  4. Copy the Public key and the Secret Key and save them somewhere safe.
🔀 -   {/* Add env variables LANGFLOW_LANGFUSE_SECRET_KEY, LANGFLOW_LANGFUSE_PUBLIC_KEY and LANGFLOW_LANGFUSE_HOST to pass to CallbackHandler */}
🔀 +   {/* Add
2023-08-22 09:47:35 -03:00
Gabriel Luiz Freitas Almeida
75f042c388 📚 docs(sidebars.js): add "langfuse_integration" guide to the "Step-by-Step Guides" section for improved documentation coverage 2023-08-22 07:20:25 -03:00
Gabriel Luiz Freitas Almeida
4e7a993db3 Adds first version of docs 2023-08-21 22:18:55 -03:00
carlosrcoelho
59bfabd119 fix mendable 2023-08-18 12:59:58 -03:00
Lucas Oliveira
500fc98a00 Merge branch 'main' into dev 2023-08-17 10:13:38 -03:00
Rodrigo Nader
4c1b342a43 feat: Add documentation for various tools
- Added documentation for BingSearchRun, Calculator, GoogleSearchResults, GoogleSearchRun, GoogleSerperRun, and InfoSQLDatabaseTool components.
2023-08-15 10:14:24 -03:00
Gabriel Luiz Freitas Almeida
5e47d0ff14
adding ChatVertexAI LLM component back into the config.yaml (#724) 2023-08-14 15:10:26 +00:00
Rodrigo Nader
823b140181 feat: Add documentation for various tools
- Added documentation for BingSearchRun, Calculator, GoogleSearchResults, GoogleSearchRun, GoogleSerperRun, and InfoSQLDatabaseTool components.
2023-08-13 20:14:02 -03:00
Gabriel Luiz Freitas Almeida
3b04048e75 🔥 refactor(custom-component.mdx): remove width property from style to improve responsiveness and avoid fixed width 2023-08-09 09:49:25 -03:00
Dave Morris
bb2b8fbb3d add support for VertexAIEmbeddings node 2023-08-08 17:35:50 -05:00
Gabriel Luiz Freitas Almeida
a64f03da9c 📝 docs(loading_document.mdx): update the "Web Page" field URL to point to the correct documentation URL
📝 docs(CNAME): update the CNAME file to point to the new domain for the documentation

🔧 fix(ApiModal/index.tsx): update the links in the description to point to the correct documentation URL
2023-08-08 14:11:57 -03:00
Gabriel Luiz Freitas Almeida
4dafbae1b9 📝 docs(loading_document.mdx): update the "Web Page" field URL to point to the correct documentation URL
📝 docs(CNAME): update the CNAME file to point to the new domain for the documentation

🔧 fix(ApiModal/index.tsx): update the links in the description to point to the correct documentation URL
2023-08-08 14:09:15 -03:00
Gabriel Luiz Freitas Almeida
16be5f573a 📝 docs(custom-component.mdx): update guidelines for loading custom components
🔧 fix(custom-component.mdx): correct the recommended way to load custom components by setting LANGFLOW_COMPONENTS_PATH environment variable instead of using --components-path argument

💡 docs(custom-component.mdx): provide an alternative method to specify the path to custom components using --components-path argument
2023-08-04 17:11:54 -03:00
Gabriel Luiz Freitas Almeida
aac7e92832 📝 docs(custom-component.mdx): update guidelines for loading custom components
🔧 fix(custom-component.mdx): correct the recommended way to load custom components by setting LANGFLOW_COMPONENTS_PATH environment variable instead of using --components-path argument

💡 docs(custom-component.mdx): provide an alternative method to specify the path to custom components using --components-path argument
2023-08-04 13:49:53 -03:00
Gabriel Luiz Freitas Almeida
3e465f6df3 📝 docs(flow-runner.mdx): update example code formatting and fix indentation for better readability
🖼️ chore(flow_runner_code.png): update flow_runner_code.png image
2023-08-01 17:49:58 -03:00
Gabriel Luiz Freitas Almeida
c112a42292 Merge branch 'main' into dev 2023-08-01 16:02:03 -03:00
Gabriel Luiz Freitas Almeida
2f9ffd1d48 🐛 fix(flow-runner.mdx): handle case where document is a list and extract the first element to ensure compatibility with the flow
🔨 refactor(flow-runner.mdx): remove unnecessary comment and unused variable to improve code readability and maintainability
2023-07-31 21:42:08 -03:00
Gabriel Luiz Freitas Almeida
8a6a953179 📝 docs(custom.mdx): add description of the 'repr_value' attribute in the CustomComponent class
📝 docs(custom-component.mdx): update example code and description of the 'repr_value' attribute in the DocumentProcessor class
2023-07-31 21:23:15 -03:00
Gabriel Luiz Freitas Almeida
15643263a8 🔧 chore(docusaurus.config.js): update remarkCodeHike configuration to use the "github-light" theme for better code highlighting aesthetics 2023-07-31 18:58:51 -03:00
Gabriel Luiz Freitas Almeida
f1f1759f02 📝 docs(multiple-vectorstores.mdx): fix code block language from 'txt' to 'text' for clarity and consistency 2023-07-31 18:54:46 -03:00
Gabriel Luiz Freitas Almeida
0907e477fd 📝 docs(custom-component.mdx): improve clarity by emphasizing the --components-path argument using italics
📝 docs(chatprompttemplate_guide.mdx): update the "Prompt" field text to use italics for better readability
2023-07-31 18:46:31 -03:00
Gabriel Luiz Freitas Almeida
1fa00fcf8f 📝 docs(custom-component.mdx): add note about custom components appearing in 'Other' category if using a subdirectory not listed in config.yaml 2023-07-31 18:31:52 -03:00
Gabriel Luiz Freitas Almeida
a5cb741fc5 📝 docs(custom-component.mdx): add instructions for loading custom components outside of the standard interface
📝 docs(custom-component.mdx): update folder structure section to include custom agents directory

📝 docs(custom-component.mdx): add instructions for specifying the path to custom components using the Langflow CLI

📝 docs(custom-component.mdx): add instructions for setting the LANGFLOW_COMPONENTS_PATH environment variable

📝 docs(custom-component.mdx): clarify that Langflow will continue loading components even if there are errors in some of them

📝 docs(custom-component.mdx): add section on interacting with custom components in Langflow's sidebar
2023-07-31 18:15:56 -03:00
Gabriel Luiz Freitas Almeida
b2979bce17 🐛 fix(flow-runner.mdx): remove unnecessary load_flow calls and update get_flow method signature to include tweaks parameter
🚚 chore(flow-runner.mdx): update load_flow references to get_flow
🚚 chore(flow-runner.mdx): remove commented out code
🚚 chore(flow-runner.mdx): update load_flow references to get_flow
2023-07-31 16:03:51 -03:00
Gabriel Luiz Freitas Almeida
92b99f82d9 📝 docs(how-contribute.md): update contribution guide with instructions for running documentation locally using Docusaurus
🐛 fix(how-contribute.md): fix formatting and add missing newline at end of file
2023-07-31 14:56:10 -03:00
Gabriel Luiz Freitas Almeida
ec17b4e9d3 📝 docs(flow-runner.mdx): update explanation of using Document input in FlowRunner class
The change clarifies that using a `Document` as input in the `FlowRunner` class is a straightforward way to pass text data in Langflow, specifically because it can be connected to many loaders. It also mentions that generally, a flow expects a string or a dictionary as input. Additionally, it updates the explanation of extracting the content of a document using the `page_content` attribute, which is a string.
2023-07-31 14:51:09 -03:00
Gabriel Luiz Freitas Almeida
9cc0ae0242 📝 docs(flow-runner.mdx): add explanation about using Document as input in FlowRunner class
The commit adds an explanation about using a `Document` as input in the `FlowRunner` class. It clarifies that using a `Document` is a straightforward way to pass text data in Langflow. Typically, a flow expects a string or a dictionary as input, and if a dictionary is used, it should be built according to the needs of the specific flow. The commit also mentions that the content of a document can be extracted using the `page_content` property and passed as an argument to the selected flow.
2023-07-31 14:37:18 -03:00
Gabriel Luiz Freitas Almeida
1eda86658d 📝 docs(custom.mdx): fix formatting and typos in the CustomComponent class documentation
🔀 docs(custom.mdx): merge changes from the CustomComponent class documentation
📝 docs(custom.mdx): improve readability and formatting in the CustomComponent class documentation
🔀 docs(custom.mdx): merge changes from the CustomComponent class documentation
📝 docs(custom.mdx): update CustomComponent class documentation with additional methods and descriptions
🔀 docs(custom.mdx): merge changes from the CustomComponent class documentation
📝 docs(custom.mdx): update CustomComponent class documentation with corrected method names and descriptions
🔀 docs(custom.mdx): merge changes from the CustomComponent class documentation
2023-07-31 11:48:17 -03:00
Gabriel Luiz Freitas Almeida
e03e306292 📝 docs(flow-runner.mdx): fix typo in line 141, "looks" instead of "look like"
📝 docs(flow-runner.mdx): remove extra blank lines in code examples for better readability
2023-07-31 11:46:23 -03:00
Gabriel Luiz Freitas Almeida
5c42683b40 📝 docs(flow-runner.mdx): add example code for a Flow Runner custom component
ℹ️ The example code demonstrates how to create a custom component called "Flow Runner" that runs other flows using a document as input. The code includes the implementation of the `build_config` and `build` methods.

 feat(flow-runner.mdx): add example code for a Flow Runner custom component to provide a practical example for users to follow
2023-07-31 10:58:37 -03:00
Gabriel Luiz Freitas Almeida
16935ec198 🐛 fix(flow-runner.mdx): fix broken link to langchain.schema module in import statement
🐛 fix(flow-runner.mdx): remove unnecessary focus annotations in code snippets
 feat(flow-runner.mdx): add support for getting flow by name instead of id in build method
 feat(flow-runner.mdx): add caution about unique flow names in version 0.4.0
 feat(flow-runner.mdx): add support for passing document parameter in build method
🐛 fix(flow-runner.mdx): remove redundant Optional type hint for document parameter in build method
🐛 fix(flow-runner.mdx): remove empty line at the end of the file
2023-07-31 10:58:35 -03:00
Rodrigo Nader
7b12bb5e5b review flow-runner example 2023-07-31 02:22:23 -03:00
Rodrigo Nader
060fa07398 change announcement color 2023-07-30 18:05:16 -03:00