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

feat(search): conforms api requests to chat protocol (#67) #82

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

sinedied
Copy link
Contributor

Previous PR was missing request conformance

@@ -98,14 +83,9 @@ export const approachResponseSchema = {
required: ['choices', 'object'],
} as const;

export const schemas = [chatRequestSchema, askRequestSchema, messageSchema, approachResponseSchema];
export const schemas = [chatRequestSchema, messageSchema, approachResponseSchema];
Copy link
Member

Choose a reason for hiding this comment

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

Why is the askRequestSchema being deleted? I'm not sure I understand this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

because it's not necessary anymore, both APIs use the same schema now that the chat protocol

@sinedied sinedied merged commit 7763591 into main Oct 19, 2023
5 checks passed
@sinedied sinedied deleted the chat-input branch October 19, 2023 14:00
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