baai/bge-m3 is available via Novita's serverless API, where you pay per token. There are several ways to call the API, including OpenAI-compatible endpoints with exceptional reasoning performance.
クエリをすぐに実行し、使用した分だけお支払い
以下のコード例を使用して、当社の API と統合してください:
1from openai import OpenAI
2
3client = OpenAI(
4 api_key="<Your API Key>",
5 base_url="https://api.novita.ai/openai"
6)
7
8response = client.embeddings.create(
9 model="baai/bge-m3",
10 input="The quick brown fox jumped over the lazy dog."
11)
12
13print(response.data[0].embedding)200以上のモデル、オンデマンド GPUs、安全なエージェントランタイムを、1つの API に統合。無料で始められ、成長に合わせてスケールできます。