microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
feature/user-agent-header

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

Tests/Microsoft.Teams.AI.Tests/Utils/TestChatPrompt.cs

14lines · modecode

1using Microsoft.Teams.AI.Models;
2using Microsoft.Teams.AI.Prompts;
3
4namespace Microsoft.Teams.AI.Tests.Utils;
5
6internal class TestChatPrompt : ChatPrompt<TestModelOptions>
7{
8 private static readonly IChatModel<TestModelOptions> model = new TestModel();
9
10 public TestChatPrompt(ChatPromptOptions? options = null) : base(model, options)
11 {
12 Function(new Function("test-function", "a test function", () => Task.FromResult("test function output")));
13 }
14}