langflow/docs
Gabriel Luiz Freitas Almeida 4c113d5ac0
Add Upstash Vector Store support (#2004)
* docs(migration): add UPSTASH_VECTOR_REST_URL and UPSTASH_VECTOR_REST_TOKEN to the list of default environment variables
pyproject.toml: add upstash-vector package as a dependency with version 0.4.0
src/backend/base/langflow/components/vectorsearch/UpstashSearch.py: create UpstashSearchComponent for implementing a Vector Store using Upstash
src/backend/base/langflow/components/vectorstores/Upstash.py: create UpstashVectorStoreComponent for implementing a Vector Store using Upstash
src/backend/base/langflow/services/settings/constants.py: add UPSTASH_VECTOR_REST_URL and UPSTASH_VECTOR_REST_TOKEN to the list of variables to get from the environment

*  (UpstashSearch.py): Add support for 'number_of_results' and 'text_key' parameters in UpstashSearchComponent to enhance search functionality
♻️ (Upstash.py): Refactor UpstashVectorStoreComponent to include 'text_key' parameter for consistency and improved functionality

* ♻️ (Upstash.py): refactor UpstashVectorStoreComponent to improve code readability and maintainability by restructuring the instantiation of UpstashVectorStore instances based on conditions and adding support for adding documents directly to the instance.

* feat: Update langchain-core, langchainhub, langsmith, and requests dependencies to latest versions
2024-05-30 12:02:40 -07:00
..
docs Add Upstash Vector Store support (#2004) 2024-05-30 12:02:40 -07:00
plugins add docs with components 2023-07-18 15:08:00 -03:00
src 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
static update-notion-image 2024-05-30 11:38:55 -04:00
babel.config.js add docs with components 2023-07-18 15:08:00 -03:00
docusaurus.config.js Update organization name and URLs in configuration files 2024-04-18 11:58:19 -03:00
index.d.ts add docs with components 2023-07-18 15:08:00 -03:00
package-lock.json 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
package.json 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
README.md add docs with components 2023-07-18 15:08:00 -03:00
sidebars.js repopulate-examples 2024-05-30 11:35:42 -04:00
spell_add.sh add docs with components 2023-07-18 15:08:00 -03:00
spell_check.sh add docs with components 2023-07-18 15:08:00 -03:00
tailwind.config.js add docs with components 2023-07-18 15:08:00 -03:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true yarn deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.