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

Implement chat completion streaming #101

Merged
merged 3 commits into from
Mar 3, 2023
Merged

Implement chat completion streaming #101

merged 3 commits into from
Mar 3, 2023

Conversation

NICEXAI
Copy link
Contributor

@NICEXAI NICEXAI commented Mar 2, 2023

No description provided.

@@ -49,7 +49,7 @@ type ChatCompletionResponse struct {
Usage Usage `json:"usage"`
}

// CreateChatCompletion — API call to Creates a completion for the chat message.
// CreateChatCompletion — API call to Create a completion for the chat message.
Copy link
Owner

Choose a reason for hiding this comment

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

thanks! 😄

chat_stream.go Outdated Show resolved Hide resolved
chat_stream_test.go Outdated Show resolved Hide resolved
chat_test.go Outdated Show resolved Hide resolved
@sashabaranov
Copy link
Owner

Thank you for the awesome PR! ❤️ Let's make these minor changes happen, and I hope to merge it soon!

@sashabaranov
Copy link
Owner

Okay, looks good to me. Please fix linter errors, and let's merge! 🙌🏻

@NICEXAI
Copy link
Contributor Author

NICEXAI commented Mar 3, 2023

Okay, looks good to me. Please fix linter errors, and let's merge! 🙌🏻

It's done.

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.

None yet

2 participants