Managing Documents
You can create different documents for different types of data from which text is generated. Before creating a document, ensure that a project has been created.
You can create, edit, and delete documents in a project, preview documents that have been customized, and view the generation result.
Creating a Document
- Log in to the LG console of NLP, and click the Beta Services tab.
- Click Access Text Generation Console. The Text Generation page is displayed.
- In a project you have created, click
. The Create Document dialog box is displayed. Figure 1 Creating a document
- Set related parameters.
- Name: The name can contain 2 to 50 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed, and the document name must be unique in the project.
- Title: Set a title for the generated text. The value ranges from 2 to 50 characters.
- Data Type: Select the data type used for generating text. You can select JSON, table, or knowledge graph. The document configuration varies depending on the data type.
- Click OK.
Editing a Document
To edit a document, click
in the lower right corner of a document.
Deleting a Document
To delete a document, click
in the lower right corner of the document.
Previewing a Document
To preview a document, click
in the lower right corner of the document.
A document can be previewed only after the data and document structure are configured. Otherwise the text generation result cannot be obtained.
Last Article: Managing Projects
Next Article: Configuring Data
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.