Skip to content

Commit

Permalink
Merge pull request #123 from mistralai/doc/v0.0.73
Browse files Browse the repository at this point in the history
Update docs to v0.0.73
  • Loading branch information
GaspardBT authored Aug 9, 2024
2 parents 594048b + cde6415 commit edf19ae
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ paths:
summary: List Models
description: List all models available to the user.
operationId: list_models_v1_models_get
parameters: []
responses:
"200":
description: Successful Response
Expand Down Expand Up @@ -1859,10 +1858,12 @@ components:
title: Messages
description: The prompt(s) to generate completions for, encoded as a list of dict with role and content.
examples:
- {
"role": "user",
"content": "Who is the best French painter? Answer in one short sentence.",
}
- [
{
"role": "user",
"content": "Who is the best French painter? Answer in one short sentence.",
},
]
response_format:
$ref: "#/components/schemas/ResponseFormat"
tools:
Expand Down Expand Up @@ -2206,10 +2207,12 @@ components:
user: "#/components/schemas/UserMessage"
description: The prompt(s) to generate completions for, encoded as a list of dict with role and content.
examples:
- {
"role": "user",
"content": "Who is the best French painter? Answer in one short sentence.",
}
- [
{
"role": "user",
"content": "Who is the best French painter? Answer in one short sentence.",
},
]
response_format:
$ref: "#/components/schemas/ResponseFormat"
tools:
Expand Down Expand Up @@ -2432,7 +2435,8 @@ components:
anyOf:
- type: "null"
- type: array
$ref: "#/components/schemas/ToolCall"
items:
$ref: "#/components/schemas/ToolCall"
securitySchemes:
ApiKey:
type: http
Expand Down

0 comments on commit edf19ae

Please sign in to comment.