File size: 1,051 Bytes
8baf122
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Cohere - Embed Endpoints

embed:
  post:
    operationId: cohereEmbedV2
    summary: Create embeddings (Cohere v2 format)
    description: |
      Creates embeddings using Cohere v2 API format.
    tags:
      - Cohere Integration
    requestBody:
      required: true
      content:
        application/json:
          schema:
            $ref: '../../../schemas/integrations/cohere/embed.yaml#/CohereEmbeddingRequest'
    responses:
      '200':
        description: Successful response
        content:
          application/json:
            schema:
              $ref: '../../../schemas/integrations/cohere/embed.yaml#/CohereEmbeddingResponse'
      '400':
        description: Bad request
        content:
          application/json:
            schema:
              $ref: '../../../schemas/integrations/cohere/common.yaml#/CohereError'
      '500':
        description: Internal server error
        content:
          application/json:
            schema:
              $ref: '../../../schemas/integrations/cohere/common.yaml#/CohereError'