-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/conversation functions #149
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
Conversation
type ExtendedChatCompletionRequest struct { | ||
openai.ChatCompletionRequest | ||
Conversation string `json:"conversation,omitempty"` | ||
Conversation string `json:"conversation,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ConversationID?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it's conversation id.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename it to conversation id?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will have to refactor the /chat/completions
endpoint.
- Seperate the logic of building response to a factory or jquery-like builder
- Unnecessary validation leads to functions with too many arguments.
Merge it and integrate with the client for now.
Conversation Flows Modifications: