diff --git a/fern/docs.yml b/fern/docs.yml index bc3ebcb..ddb4d39 100644 --- a/fern/docs.yml +++ b/fern/docs.yml @@ -94,6 +94,10 @@ navigation: layout: - api: API Reference display-errors: true + - section: Valid Inputs + contents: + - page: Enumerations for API + path: ./docs/pages/options/enumerations.mdx - section: SDK Reference contents: - page: Chat diff --git a/fern/openapi/Prediction-Guard-Prediction-Guard-API-1.0-resolved.yaml b/fern/openapi/Prediction-Guard-Prediction-Guard-API-1.0-resolved.yaml index 0c8ec3e..7d06b0e 100644 --- a/fern/openapi/Prediction-Guard-Prediction-Guard-API-1.0-resolved.yaml +++ b/fern/openapi/Prediction-Guard-Prediction-Guard-API-1.0-resolved.yaml @@ -43,22 +43,22 @@ paths: description: The chat model to use for generating completions. messages: oneOf: - - type: string - description: A string of the message used for generating completions. - - type: array - description: An array of messages used for generating completions. - items: - required: - - role - - content - type: object - properties: - role: - type: string - description: The role of the sender (user or assistant). - content: - type: string - description: The content of the message. + - type: string + description: A string of the message used for generating completions. + - type: array + description: An array of messages used for generating completions. + items: + required: + - role + - content + type: object + properties: + role: + type: string + description: The role of the sender (user or assistant). + content: + type: string + description: The content of the message. max_tokens: type: integer description: The maximum number of tokens in the generated completion. @@ -124,7 +124,7 @@ paths: type: string description: Description of the error. example: - error: "api understands the request but refuses to authorize it" + error: "api understands the request but refuses to authorize it" "400": description: General error response. content: @@ -760,6 +760,7 @@ paths: - type: string description: A string of text to be embedded. - type: object + description: Use this option for multimodal input. properties: text: type: string