Serverless and Agent Inference endpoints#1146
Conversation
| $ref: 'resources/gen-ai/genai_list_evaluation_test_cases_by_workspace.yml' | ||
|
|
||
|
|
||
| /v1/inference/chat/completions: |
There was a problem hiding this comment.
shouldn't it be /v1/chat/completions
There was a problem hiding this comment.
Updated. Thanks!
| - key: "type" | ||
| value: "test" | ||
| responses: | ||
| "200": |
There was a problem hiding this comment.
this should be 202 since its async
| type: string | ||
| description: > | ||
| The desired dimensions of the generated image. Supported values: | ||
| 256x256, 512x512, 1024x1024. |
There was a problem hiding this comment.
1536x1024 (landscape), 1024x1536 (portrait) - reference https://gradient-sdk.digitalocean.com/api/resources/images/methods/generate
| - prompt | ||
| - model | ||
| - "n" | ||
| - size |
There was a problem hiding this comment.
I meant "size" , reference https://gradient-sdk.digitalocean.com/api/resources/images/methods/generate
| list, and delete custom VPCs as well as retrieve information about the | ||
| resources assigned to them. | ||
|
|
||
| - name: Serverless Inference |
There was a problem hiding this comment.
will we need to be Alphabetical here ?
There was a problem hiding this comment.
Yes, added in alphabetical order. TY!
| @@ -0,0 +1,6 @@ | |||
| lang: cURL | |||
| source: |- | |||
| curl -X GET \ | |||
There was a problem hiding this comment.
There was a problem hiding this comment.
This endpoint is available under serverless inference https://docs.digitalocean.com/products/gradient-ai-platform/how-to/use-serverless-inference/#retrieve-available-models-curl
| @@ -0,0 +1,62 @@ | |||
| type: object | |||
There was a problem hiding this comment.
is this file required ??
| @@ -0,0 +1,16 @@ | |||
| lang: cURL | |||
There was a problem hiding this comment.
is this file required ?
| @@ -0,0 +1,17 @@ | |||
| lang: cURL | |||
There was a problem hiding this comment.
- do we need this file too ?
Added chat completion endpoint for serverless and agent inference