This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal class AiPrompts | |
{ | |
public static string SupportPrompt = @"I am a support specialist working to help me, who are having issues with the utility named 'App'."; | |
public static string TestPrompt = @"Assistant is an intelligent chatbot designed to help users answer their tax related questions. | |
Instructions: | |
- Only answer questions related to taxes. | |
- If you're unsure of an answer, you can say ""I don't know"" or ""I'm not sure"" and recommend users go to the IRS website for more information."; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal class AiModel | |
{ | |
HttpClient httpClient = new HttpClient(); | |
List<GptMessage> Messages = new List<GptMessage>(); | |
public AiModel() | |
{ | |
httpClient.DefaultRequestHeaders.Add("api-key", "APIKEY"); | |
httpClient.DefaultRequestHeaders.Add("Authorization", "Bearer APIKEY"); |