A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python.langchain.com/docs/integrations/providers/dashvector/ below:

DashVector | 🦜️🔗 LangChain

Our new LangChain Academy Course Deep Research with LangGraph is now live!

Enroll for free

.

DashVector

DashVector is a fully-managed vectorDB service that supports high-dimension dense and sparse vectors, real-time insertion and filtered search. It is built to scale automatically and can adapt to different application requirements.

This document demonstrates to leverage DashVector within the LangChain ecosystem. In particular, it shows how to install DashVector, and how to use it as a VectorStore plugin in LangChain. It is broken into two parts: installation and setup, and then references to specific DashVector wrappers.

Installation and Setup

Install the Python SDK:

You must have an API key. Here are the installation instructions.

Embedding models
from langchain_community.embeddings import DashScopeEmbeddings

See the use example.

Vector Store

A DashVector Collection is wrapped as a familiar VectorStore for native usage within LangChain, which allows it to be readily used for various scenarios, such as semantic search or example selection.

You may import the vectorstore by:

from langchain_community.vectorstores import DashVector

For a detailed walkthrough of the DashVector wrapper, please refer to this notebook


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4