Skip to content

Commit

Permalink
Enable function calling
Browse files Browse the repository at this point in the history
  • Loading branch information
glahaye committed Feb 26, 2024
1 parent 8d45f1a commit 607bcf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapi/Plugins/Chat/ChatPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ private OpenAIPromptExecutionSettings CreateChatRequestSettings()
TopP = this._promptOptions.ResponseTopP,
FrequencyPenalty = this._promptOptions.ResponseFrequencyPenalty,
PresencePenalty = this._promptOptions.ResponsePresencePenalty,
// ToolCallBehavior = ToolCallBehavior.AutoInvokeKernelFunctions TODO: provide mechanism to toggle function-calling
ToolCallBehavior = ToolCallBehavior.AutoInvokeKernelFunctions
};
}

Expand Down

0 comments on commit 607bcf1

Please sign in to comment.