Install the DashVector SDK

更新时间:
复制 MD 格式

Install the DashVector SDK for Python or Java, or use the HTTP API directly.

DashVector provides SDKs for the following languages:

  • Python SDK

  • Java SDK

  • HTTP API

  • More languages coming soon.

Python SDK

Note

Requires Python 3.7 or later.

Install the latest version via pip to use DashVector:

pip3 install dashvector

To upgrade to the latest version:

pip3 install dashvector --upgrade

Java SDK

Note

Requires Java 1.8 or later. Run java -version to verify.

Add the DashVector Java SDK dependency to your project. The following adds the latest version:

<!-- https://mvnrepository.com/artifact/com.aliyun/dashvector-java-sdk -->
<dependency>
    <groupId>com.aliyun</groupId>
    <artifactId>dashvector-java-sdk</artifactId>
    <version>1.0.18</version>
</dependency>
// https://mvnrepository.com/artifact/com.aliyun/dashvector-java-sdk
implementation 'com.aliyun:dashvector-java-sdk:1.0.18'

HTTP API

DashVector provides HTTP APIs for Collection operations (create, delete) and Doc operations (insert, retrieve). The HTTP API reference documents all available endpoints.