Description | : KnowledgeAgent retrieves relevant data from backing stores. |
Reference | : Link ¶ |
⚼ Request
POST:
/retrieve
{
retrievalRequest:
{
,
messages:
[
]
,
{
,
role:
string
,
content:
}
[
]
,
{
,
type:
enum
,
}
knowledgeSourceParams:
}
[
]
,
{
,
knowledgeSourceName:
string
,
kind:
enum
,
}
x-ms-client-request-id:
string
,
api-version:
string
,
x-ms-query-source-authorization:
string
,
}
⚐ Response (200)
{
response:
[
]
,
{
,
role:
string
,
content:
}
[
]
,
{
,
type:
enum
,
}
activity:
[
]
,
{
,
id:
integer
,
type:
string
,
elapsedMs:
integer
,
}
references:
}
[
]
,
{
,
type:
string
,
id:
string
,
activitySource:
integer
,
sourceData:
object
,
rerankerScore:
number
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}