ChatToolMode.RequireSpecific(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Instantiates a ChatToolMode indicating that tool usage is required, and that the specified AIFunction must be selected. The function name must match an entry in Tools.
public:
static Microsoft::Extensions::AI::RequiredChatToolMode ^ RequireSpecific(System::String ^ functionName);
public static Microsoft.Extensions.AI.RequiredChatToolMode RequireSpecific (string functionName);
static member RequireSpecific : string -> Microsoft.Extensions.AI.RequiredChatToolMode
Public Shared Function RequireSpecific (functionName As String) As RequiredChatToolMode
Parameters
- functionName
- String
The name of the required function.
Returns
An instance of RequiredChatToolMode for the specified function name.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.