Skip to content
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

Openai chatapi docs and bug fixes #581

Merged
merged 2 commits into from
Mar 2, 2023

Conversation

jay-m-dev
Copy link
Contributor

OpenAI Changes
Made 'api_key' required in POST openai/v1/configs
Renamed openai/v1/config to openai/v1/configs (all endpoints)

ChatAPI Changes
Made 'who' required in POST chatapi/v1/chatlogs
Deleted duplicate endpoint: PATCH chatapi/v1/chatlogs/:id
Renamed chatapi/v1/chatlog to chatapi/v1/chatlogs (all endpoints)
Renamed chatapi/v1/chat to chatapi/v1/chats (all endpoints)
Updated PATCH chatapi/v1/chatlogs/:id to return an error if there is an attempt to update the _chat_id
Bug Fix on PATCH chatapi/v1/chatlogs/:id, retrieve chatlog, not chat.
Bug Fix openaiutils.js, Chatlog was not defined.

Embedded the OpenAI API and Chat API docs in the doc-builder process, so now it's part of the developers guide.

@jay-m-dev jay-m-dev requested a review from nickotto March 2, 2023 00:29
@nickotto nickotto merged commit b214aa6 into EpistasisLab:master Mar 2, 2023
@jay-m-dev jay-m-dev deleted the openai_chatapi_docs branch March 2, 2023 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants