Skip to content

fix: add chat_tokenize endpoint to api docs #2710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

drbh
Copy link
Collaborator

@drbh drbh commented Oct 31, 2024

This PR updates the openapi docs to include the /chat_tokenize endpoint

responses((status = 200, description = "Templated and tokenized ChatRequest", body = ChatTokenizeResponse))
responses(
(status = 200, description = "Templated and tokenized ChatRequest", body = ChatTokenizeResponse),
(status = 404, description = "Failed to tokenize ChatRequest", body = ErrorResponse),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

404 ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

404 because it's the template that can be missing

@Narsil Narsil merged commit 08c4184 into main Nov 4, 2024
11 of 12 checks passed
@Narsil Narsil deleted the add-chat-tokenizer-api-docs branch November 4, 2024 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants