如何开始使用Qdrant云服务

您可以按照以下三个步骤在Qdrant Cloud上尝试向量搜索。以下是说明,但视频更快:

设置一个Qdrant云集群

  1. Register for a 云账户 with your email, Google or Github credentials.
  2. Go to Overview and follow the onboarding instructions under Create First Cluster.

create a cluster

  1. When you create it, you will receive an API key. You will need to copy and paste it soon.
  2. Your new cluster will be created under Clusters. Give it a few moments to provision.

访问集群仪表板

  1. Go to your Clusters. Under Actions, open the Dashboard.
  2. Paste your new API key here. You can revoke and create new API keys in Access Management.
  3. The key will grant you access to your Qdrant instance. Now you can see the cluster Dashboard.

access the dashboard

通过SDK进行认证

现在您已经有了集群和密钥,您可以使用我们的官方SDK从您的应用程序中访问Qdrant Cloud。

curl \
  -X GET https://xyz-example.eu-central.aws.cloud.qdrant.io:6333 \
  --header 'api-key: <your-api-key>'

# Alternatively, you can use the `Authorization` header with the `Bearer` prefix
curl \
  -X GET https://xyz-example.eu-central.aws.cloud.qdrant.io:6333 \
  --header 'Authorization: Bearer <your-api-key>'
from qdrant_client import QdrantClient

qdrant_client = QdrantClient(
    host="xyz-example.eu-central.aws.cloud.qdrant.io",
    api_key="<your-api-key>",
)
import { QdrantClient } from "@qdrant/js-client-rest";

const client = new QdrantClient({
  host: "xyz-example.eu-central.aws.cloud.qdrant.io",
  apiKey: "<your-api-key>",
});
use qdrant_client::Qdrant;

let client = Qdrant::from_url("https://xyz-example.eu-central.aws.cloud.qdrant.io:6334")
    .api_key("<your-api-key>")
    .build()?;
import io.qdrant.client.QdrantClient;
import io.qdrant.client.QdrantGrpcClient;

QdrantClient client =
    new QdrantClient(
        QdrantGrpcClient.newBuilder(
                "xyz-example.eu-central.aws.cloud.qdrant.io",
                6334,
                true)
            .withApiKey("<your-api-key>")
            .build());
using Qdrant.Client;

var client = new QdrantClient(
  host: "xyz-example.eu-central.aws.cloud.qdrant.io",
  https: true,
  apiKey: "<your-api-key>"
);
import "github.com/qdrant/go-client/qdrant"

client, err := qdrant.NewClient(&qdrant.Config{
	Host:   "xyz-example.eu-central.aws.cloud.qdrant.io",
	Port:   6334,
	APIKey: "<your-api-key>",
	UseTLS: true,
})

尝试教程沙盒

  1. Open the interactive Tutorial. Here, you can test basic Qdrant API requests.
  2. Using the Quickstart instructions, create a collection, add vectors and run a search.
  3. The output on the right will show you some basic semantic search results.

interactive-tutorial

您可以留在沙盒中,继续尝试我们不同的API调用。当准备好时,使用控制台和我们的完整REST API来尝试其他操作。

接下来是什么?

现在你已经启动并运行了一个Qdrant Cloud集群,你应该使用Qdrant客户端测试远程访问

有关Qdrant Cloud的更多信息,请查看我们的专用文档

这个页面有用吗?

感谢您的反馈!🙏

我们很抱歉听到这个消息。😔 你可以在GitHub上编辑这个页面,或者创建一个GitHub问题。