BazaarLinkBazaarLink
Đăng nhập
Tài liệuTham chiếu APITham chiếu SDKSử dụng AgentKỹ năng AI
Embeddings

Liệt kê model embeddings

Trả về các model khả dụng, có thể lọc qua output_modalities. Đây không phải endpoint embeddings riêng — đây là endpoint liệt kê model dùng chung (GET /api/v1/models); truyền output_modalities=embeddings để chỉ lấy model embeddings. Khi bỏ qua tham số này, mặc định chỉ trả về model văn bản (text), không phải tất cả.

GET/api/v1/models

Tham số truy vấn

output_modalities
string

Một chuỗi đơn phân tách bằng dấu phẩy (không phải lặp lại query key cùng tên), ví dụ embeddings hoặc embeddings,image. Truyền all để lấy mọi modality. Mặc định chỉ text khi bỏ qua. Giá trị không nhận diện được sẽ trả về 400.

comma-separated, single value
Example: "embeddings"
GET /api/v1/models
curl "https://bazaarlink.ai/api/v1/models?output_modalities=embeddings"
Ví dụ phản hồi

Thành công. data[] chỉ chứa các model khớp bộ lọc; mỗi mục gồm pricing (USD trên mỗi triệu token), context_length, architecture.output_modalities và các trường liên quan.

{
  "object": "list",
  "data": [
    {
      "id": "text-embedding-3-small",
      "object": "model",
      "owned_by": "openai",
      "name": "OpenAI: text-embedding-3-small",
      "context_length": 8191,
      "aliases": [
        "openai/text-embedding-3-small"
      ],
      "pricing": {
        "prompt": "0.00000002",
        "completion": "0"
      },
      "architecture": {
        "modality": "text->embedding",
        "input_modalities": [
          "text"
        ],
        "output_modalities": [
          "embeddings"
        ]
      }
    }
  ]
}
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.
Liệt kê model embeddings — BazaarLink API