Commit graph

153 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
f506fd1625 🔥 chore(deploy): remove unused docker-compose.test.yml file
🔧 chore(deploy): update docker-compose.override.yml to version 3.8

📦 chore(docker-compose.with_tests.yml): add docker-compose file with tests configuration

This commit adds a new docker-compose file named `docker-compose.with_tests.yml` which includes the configuration for running tests. The file includes the following services:

- `proxy`: Configures Traefik as a reverse proxy with Docker integration and enables access logs, the Traefik dashboard, and API.
- `backend`: Sets up the backend service with dependencies on a database, message broker, and result backend. It also includes labels for Traefik routing.
- `db`: Configures a PostgreSQL database with a volume for data persistence.
- `pgadmin`: Sets up pgAdmin for managing the PostgreSQL database.
- `result_backend`: Configures a Redis instance for the result backend.
- `celeryworker`: Sets up a Celery worker for background task processing.
- `flower`: Configures Flower for monitoring and managing Celery workers.
- `frontend`: Sets up the frontend service with labels for Traefik routing.
- `broker`: Configures RabbitMQ with the management console.
- `prometheus`: Sets up Prometheus for monitoring.
- `grafana`: Configures Grafana for visualization and monitoring.
- `tests`: Extends the `backend` service and runs pytest for running tests.

This file allows running the application with the necessary services for testing and monitoring.

🔧 chore(docker-compose.yml): add missing volumes and networks for services
🔧 chore(docker-compose.yml): add traefik-public network with configurable external setting for flexibility in testing

📝 docs(async-tasks.mdx): update docker-compose command to use the correct file name for running tests
2023-09-26 19:58:50 -03:00
Gabriel Luiz Freitas Almeida
868515958e 📝 docs(async-api.mdx): add response example for async API request to improve documentation clarity 2023-09-26 19:45:08 -03:00
Gabriel Luiz Freitas Almeida
af35ae315e 📝 docs(async-api.mdx): update endpoint path for checking task status to improve consistency and clarity
🐛 fix(endpoints.py): update endpoint path for checking task status to match the updated path in the documentation

🐛 fix(schemas.py): add TaskResponse schema to properly handle task response data

🐛 fix(locustfile.py): update endpoint path for polling task status to match the updated path in the endpoints

🐛 fix(test_endpoints.py): update helper function and test cases to use the new task response structure and endpoint path for polling task status
2023-09-26 19:34:50 -03:00
Gabriel Luiz Freitas Almeida
84bf3c83e3 📝 docs(guidelines): add async-api.mdx to provide documentation on asynchronous processing feature
📝 docs(guides): add async-tasks.mdx to provide a guide on using the Async API implementation

📝 docs(sidebars.js): update sidebar to include async-api.mdx and async-tasks.mdx in the appropriate sections
2023-09-26 17:18:13 -03:00
Gabriel Luiz Freitas Almeida
4a3dae5ed6 Merge remote-tracking branch 'origin/dev' into remove-jcloud 2023-09-26 11:24:15 -03:00
Gabriel Luiz Freitas Almeida
8b27152712 📝 docs(api.mdx): add documentation for API Keys in Langflow
🔀 chore(sidebars.js): uncomment API guidelines in the sidebar
🖼️ chore(api-key.png): add image for API Key documentation
2023-09-26 10:55:54 -03:00
Gabriel Luiz Freitas Almeida
a85b39e048 🔥 refactor(sidebars.js): comment out "guidelines/api" section to temporarily remove it from the sidebar
ℹ️ The "guidelines/api" section is temporarily removed from the sidebar to prevent confusion and ensure consistency while it is being updated or revised.
2023-09-26 10:33:53 -03:00
Gabriel Luiz Freitas Almeida
3bb755bbeb 📚 docs(sidebars.js): add missing login and api guidelines and remove login guide from step-by-step guides
📚 docs(sidebars.js): add missing login and api guidelines to the guidelines section and remove login guide from step-by-step guides
2023-09-26 10:33:34 -03:00
Gabriel Luiz Freitas Almeida
afa66112e1 📝 docs(login.mdx): add documentation for login functionality in Langflow
The login functionality in Langflow serves to authenticate users and protect sensitive routes in the application. This commit adds documentation for the login functionality, including information about the enhanced login mechanism introduced in version 0.5. It explains the environment variables that are crucial in configuring the login settings and provides instructions on how to set them securely. It also covers the command-line interface for managing superusers and provides details on the sign-up process and profile settings for users. Screenshots are included to illustrate the sign-up page, profile settings page, and admin page.
2023-09-26 10:21:59 -03:00
Gabriel Luiz Freitas Almeida
a2c7d79451 📝 docs(login.mdx): add guide for sign up and sign in functionality in Langflow
📝 docs(login.mdx): explain the purpose of login functionality and introduce enhanced login mechanism in Langflow

📝 docs(login.mdx): document the crucial environment variables for configuring the login settings in Langflow

📝 docs(login.mdx): provide information on how to disable automatic login and enforce user authentication in Langflow

📝 docs(login.mdx): explain the usage of LANGFLOW_SUPERUSER and LANGFLOW_SUPERUSER_PASSWORD environment variables for setting up a superuser in Langflow

📝 docs(login.mdx): document the usage of LANGFLOW_SECRET_KEY environment variable for encrypting the superuser's password in Langflow

📝 docs(login.mdx): explain the purpose of LANGFLOW_NEW_USER_IS_ACTIVE environment variable for automatically activating new users in Langflow

📝 docs(login.mdx): provide information on the command-line interface for managing superusers in Langflow

📝 docs(login.mdx): document the sign-up process in Langflow and provide an image of the sign-up page

📝 docs(login.mdx): explain how users can change their profile settings in Langflow and provide an image of the profile settings page

📝 docs(login.mdx): explain how the superuser can access the admin page in Langflow and provide an image of the admin page

📝 docs(superuser.mdx): add guide for superuser permissions in Langflow
2023-09-25 15:55:33 -03:00
Deepankar Mahapatro
7327d79b31 chore: remove lc-serve 2023-09-25 15:53:41 +05:30
Deepankar Mahapatro
9d39946629 chore: remove lc-serve 2023-09-25 15:48:14 +05:30
Gabriel Luiz Freitas Almeida
a9034b6937 📝 docs(custom.mdx): add explanation about the difference between dict and langflow.field_typing.NestedDict types
📝 docs(custom.mdx): clarify that langflow.field_typing.NestedDict opens a more robust dictionary editor compared to dict type
2023-09-19 15:01:40 -03:00
Gabriel Luiz Freitas Almeida
7d39cdc7aa
fix issue, the custom component cannot be load success by setting env… (#823) 2023-09-18 11:01:57 -03:00
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
vincent-pli
359bea1286 fix issue, the custom component cannot be load success by setting env variables 2023-08-25 22:57:25 +08: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