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

chore: shifted system prompt to prefixMessages #31

Merged
merged 4 commits into from
Jan 20, 2025

Conversation

ChiragAgg5k
Copy link
Member

What does this PR do?

This PR shifts the logic of adding system prompt to prefixMessages according to the OpenAIChat docs.

Screenshot 2025-01-19 at 12 44 01 AM

It also adds some JSDocs for parameters for functions.

Test Plan

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

Yes.

@ChiragAgg5k ChiragAgg5k requested a review from loks0n January 18, 2025 19:15
@loks0n loks0n merged commit 2229506 into appwrite:main Jan 20, 2025
3 checks passed
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