Chat
Create Embedding
Generate text embeddings based on input text. Supports multiple text embedding models and parameter configurations.
POST
Note: For setting the embedding model name, refer to the System Supported Embedding Models List. The request/response parameter structure is fully compatible with OpenAI. When switching models, you only need to modify the corresponding model name. If the model request/response parameters are inconsistent with OpenAI, GeekAI will automatically convert and align them at the underlying level. The response data format is fully compatible with OpenAI.
cURL Request Example
Authorizations
token
Body
application/json
Response
200
application/json
successful response
The response is of type object
.