Method: brands.agents.dialogflowAssociation.knowledgebases.documents.create
Stay organized with collections
Save and categorize content based on your preferences.
Creates a document in a Dialogflow project knowledge base. Creating a document may take 2-3 minutes.
To check the document status, get the agent data and check the document's operationInfo
.
HTTP request
POST https://businesscommunications.googleapis.com/v1/{parent=brands/*/agents/*/dialogflowAssociation/knowledgebases/*}/documents
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The unique identifier of the knowledge base that document represents. If the brand identifier is "1234", the agent identifier is "5678" and knowledge base identifier is "002", this field resolves to "brands/1234/agents/5678/dialogflowAssociation/knowledgebases/002".
|
Request body
The request body contains an instance of Document
.
Response body
If successful, the response body contains a newly created instance of Document
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-01-03 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]