| Description | : KnowledgeAgent retrieves relevant data from backing stores. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "KnowledgeRetrieval_Retrieve",
"$parameters": {
"retrievalRequest": {
"$properties": {
"knowledgeSourceParams": {
"$properties": [
{
"#name": "kind",
"Enum": {
"new": [
[
"searchIndex",
"A knowledge source that reads data from a Search Index."
],
[
"azureBlob",
"A knowledge source that read and ingest data from Azure Blob Storage to a Search Index."
]
],
"old": [
[
"searchIndex",
"A knowledge source that reads data from a Search Index."
],
[
"azureBlob",
"A knowledge source that read and ingest data from Azure Blob Storage to a Search Index."
],
[
"web",
"A knowledge source that reads data from the web."
]
]
}
}
]
}
}
}
}
}
⚼ 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
,
}