New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CopilotChat: Enable MsGraph ToDos in CopilotChat #781
Conversation
@@ -17,14 +18,16 @@ public static async Task RunAsync() | |||
private static async Task RunChatGptPluginAsync() | |||
{ | |||
var kernel = new KernelBuilder().WithLogger(ConsoleLogger.Log).Build(); | |||
using HttpClient importHttpClient = new HttpClient(); | |||
importHttpClient.DefaultRequestHeaders.Add("User-Agent", "Microsoft.SemanticKernel"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be consistent in the value we use for user agent. Looks like elsewhere in this PR we are using "Microsoft-Semantic-Kernel"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! I'll fix it in today's PR.
Enable MsGraph skills in CopilotChat. - Added TaskListSkill to CopilotChat when MsGraph authentication is available - Reduced the webapp's scopes to just User.Read and Tasks.ReadWrite - Added a "GetDefaultTasks" function with filter for not getting completed tasks. - Fixed importing Klarna from ChatGPT plugin URL. - Removed unused methods from the OneDrive connector - Removed unused semantic skills from CopilotChat
### Motivation and Context Enable MsGraph skills in CopilotChat. ### Description - Added TaskListSkill to CopilotChat when MsGraph authentication is available - Reduced the webapp's scopes to just User.Read and Tasks.ReadWrite - Added a "GetDefaultTasks" function with filter for not getting completed tasks. - Fixed importing Klarna from ChatGPT plugin URL. - Removed unused methods from the OneDrive connector - Removed unused semantic skills from CopilotChat
### Motivation and Context Enable MsGraph skills in CopilotChat. ### Description - Added TaskListSkill to CopilotChat when MsGraph authentication is available - Reduced the webapp's scopes to just User.Read and Tasks.ReadWrite - Added a "GetDefaultTasks" function with filter for not getting completed tasks. - Fixed importing Klarna from ChatGPT plugin URL. - Removed unused methods from the OneDrive connector - Removed unused semantic skills from CopilotChat
Motivation and Context
Enable MsGraph skills in CopilotChat.
Description