Skip to content

Commit

Permalink
feat: add params in chat completion
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankCheungDev committed Nov 13, 2023
1 parent 21dba35 commit a7485c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ type ChatCompletionRequest struct {
MaxLength int `json:"max_length"`
IsKnowledge bool `json:"is_knowledge"`
ChatId string `json:"chat_id"`
KnowledgeType string `json:"knowledge_type,omitempty"`
}

type FunctionDefinition struct {
Expand Down

0 comments on commit a7485c8

Please sign in to comment.