mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
c1830c20c9
* move catalog samples to the HostedAgents folder * move the catalog samples' projects to the HostedAgents folder * host agents, add dockerfile, add http for testing, and use explicit nuget packages * add agents` manifests * Update dotnet/samples/HostedAgents/AgentWithTextSearchRag/Dockerfile Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update dotnet/samples/HostedAgents/AgentsInWorkflows/Dockerfile Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update dotnet/samples/HostedAgents/AgentWithTextSearchRag/agent.yaml Co-authored-by: westey <164392973+westey-m@users.noreply.github.com> * Update dotnet/samples/HostedAgents/AgentsInWorkflows/agent.yaml Co-authored-by: westey <164392973+westey-m@users.noreply.github.com> * remove BOMs, decrease identation and remove unecessary `parameters` node. * remove unnecessary analyzers and align the packages' versions * remove end-of-line breaks in agents' descriptions, eliminated unnecessary double quotes around versions, and changed the descriptions to be more agent-centric rather than sample-centric * use DefaultAzureCredential --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
31 lines
567 B
HTTP
31 lines
567 B
HTTP
@host = http://localhost:8088
|
|
@endpoint = {{host}}/responses
|
|
|
|
### Health Check
|
|
GET {{host}}/readiness
|
|
|
|
### Simple string input
|
|
POST {{endpoint}}
|
|
Content-Type: application/json
|
|
{
|
|
"input": "Hello, how are you today?"
|
|
}
|
|
|
|
### Explicit input
|
|
POST {{endpoint}}
|
|
Content-Type: application/json
|
|
{
|
|
"input": [
|
|
{
|
|
"type": "message",
|
|
"role": "user",
|
|
"content": [
|
|
{
|
|
"type": "input_text",
|
|
"text": "Hello, how are you today?"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|