Skip to content

.Net: add file read for Copilot Agent Plugins #11442

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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
4 changes: 3 additions & 1 deletion .github/_typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ extend-exclude = [
"SK-dotnet.sln.DotSettings",
"**/azure_ai_search_hotel_samples/README.md",
"**/Demos/ProcessFrameworkWithAspire/ProcessFramework.Aspire/ProcessFramework.Aspire.ProcessOrchestrator/Program.cs",
"**/Demos/ProcessFrameworkWithAspire/**/*.http"
"**/Demos/ProcessFrameworkWithAspire/**/*.http",
"**/Concepts/Resources/Plugins/CopilotAgentPlugins/**/*.yml",
"**/Concepts/Resources/Plugins/CopilotAgentPlugins/**/*.json"
]

[default.extend-words]
Expand Down
3 changes: 2 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"preLaunchTask": "build (CopilotAgentPluginsDemoSample)",
"program": "${workspaceFolder}/dotnet/samples/Demos/CopilotAgentPlugins/CopilotAgentPluginsDemoSample/bin/Debug/net8.0/CopilotAgentPluginsDemoSample.exe",
"args": [
"demo"
"demo",
"--debug"
],
"cwd": "${workspaceFolder}/dotnet/samples/Demos/CopilotAgentPlugins/CopilotAgentPluginsDemoSample",
"stopAtEntry": false,
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"superstep",
"Supersteps",
"typeref",
"uninstantiated"
"uninstantiated",
"ue"
],
"[java]": {
"editor.formatOnSave": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/copilot/plugin/v2.1/schema.json",
"schema_version": "v2.1",
"name_for_human": "OData Service for namespace microsoft.graph",
"description_for_human": "This OData service is located at https://graph.microsoft.com/v1.0",
"description_for_model": "This OData service is located at https://graph.microsoft.com/v1.0",
"contact_email": "publisher-email@example.com",
"namespace": "Files",
"capabilities": {
"conversation_starters": [
{
"text": "Get content for the navigation property items from"
},
{
"text": "Invoke action query"
},
{
"text": "Get content for the navigation property driveItem "
}
]
},
"functions": [
{
"name": "drives_GetItemsContent",
"description": "The content stream, if the item represents a file."
},
{
"name": "search_query",
"description": "Runs the query specified in the request body. Search results are provided in the response."
},
{
"name": "sites_lists_items_GetDriveItemContent",
"description": "The content stream, if the item represents a file."
}
],
"runtimes": [
{
"type": "OpenApi",
"auth": {
"type": "None"
},
"spec": {
"url": "files-openapi.yml"
},
"run_for_functions": [
"drives_GetItemsContent",
"search_query",
"sites_lists_items_GetDriveItemContent"
]
}
]
}
Loading
Loading