✨ 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
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.
🔧 fix(EditNodeModal): remove unused imports and update component structure to use BaseModal
🔧 fix(baseModal): add Footer component to BaseModal and update component structure to use Header and Footer
🔧 fix(exportModal): remove unused imports and update component structure to use BaseModal
🔧 fix(flowSettingsModal): import BaseModal component and refactor modal structure for better readability and maintainability
🔧 fix(genericModal): adjust margin-top for prompt variables description to improve spacing
🔧 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
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.
✨ feat(components.py): add support for `create_at` and `update_at` fields in Component model to track creation and update timestamps
🔥 refactor(components.py): remove unused imports and variables in components.py
🔥 refactor(component.py): remove unused imports and variables in component.py
🔥 refactor(component.py): remove commented out code in component.py
✨ feat(components.py): refactor create_component endpoint to use the Component model directly instead of ComponentCreate model
✨ feat(components.py): refactor read_component endpoint to return a Component model instead of ComponentRead model
✨ feat(components.py): refactor read_components endpoint to return a list of Component models instead of a list of ComponentRead models
✨ feat(components.py): refactor update_component endpoint to use the Component model directly instead of ComponentUpdate model
✨ feat(components.py): refactor delete_component endpoint to use the Component model directly instead of ComponentUpdate model
🔧 fix(component.py): remove unused imports and commented out code
✨ feat(component.py): add missing import for orjson
✨ feat(component.py): add missing import for FastAPI, HTTPException, and Depends
✨ feat(component.py): add missing import for List and Optional
✨ feat(component.py): add missing import for datetime
✨ feat(component.py): add missing import for uuid
✨ feat(component.py): add missing import for StaticPool
✨ feat(component.py): add missing import for create_engine
✨ feat(component.py): add missing import for select
✨ feat(component.py): add missing import for orjson
✨ feat(component.py): add missing import for SQLModel
✨ feat(component.py): add missing import for Session
✨ feat(component.py): add missing import for orjson
✨ feat(component.py): add missing import for orjson_dumps function
✨ feat(component.py): add missing import for Component model
✨ feat(component.py): add missing import for Field
✨ feat(component.py): add missing import for SQLModel
✨ feat(component.py): add missing import for Session
✨ feat(component.py): add missing import for create_engine
✨ feat(component.py): add missing import for select
✨ feat(component.py): add missing import for Optional
✨ feat(component.py): add missing import for List
✨ feat(component.py): add missing import for datetime
✨ feat(component.py): add missing import for uuid
✨ feat(component.py): add missing import for StaticPool
✨ feat(component.py): add missing import for orjson
✨ feat(component.py): add missing import for orjson_dumps function
✨ feat(component.py): add missing import for Component model
✨ feat(component
📦 chore(__init__.py): add component_router to __all__ list to expose component routes
📦 feat(components.py): add routes for creating, reading, updating, and deleting components
📦 chore(endpoints.py): import Component model from database.models.component
📦 chore(schemas.py): add ComponentListCreate and ComponentListRead schemas
📦 feat(models/component.py): add Component model with fields for name, description, and data
📦 feat(models/component.py): add ComponentCreate, ComponentRead, and ComponentUpdate models for CRUD operations on components