AI Generator (Functionality)

From Grooper Wiki
(Redirected from AI Generator)

This article was migrated from an older version and has not been updated for the current version of Grooper.

This tag will be removed upon article review and update.

STUB

This article is a stub. It contains minimal information on the topic and should be expanded.

This article is about the current version of Grooper.

Note that some content may still need to be updated.

20252024

AI Generators create custom documents using the results of a Search Page query and a large language model (LLM). Both document content and instructions are fed to the LLM to produce a text-based file.

AI Generators are required to generate custom files using the Search Page's Download command (and Download Custom format). AI Generators allow users to create new documents from the results of a search query. This makes it possible to make and download simple reports from a result set in the Search Page.

  • AI Generators use a large language model (LLM) from an LLM Connector to generate the document.
  • One or more AI Generators can be configured in the Content Type's Indexing Behavior settings.
  • The generator creates a document using a natural language prompt entered in the Instructions property.
    • The instructions define what should make up the generated document. The LLM uses these instructions and the text content of the search results (or their field values when Document Quoting is set to Data Values) to generate a document.
    • As part of the instructions, you must detail a text-based file type (TXT, CSV, HTML, etc) to be generated. Since these file types are just text and an LLM responds with text, Grooper can make a document out of the LLM's response!
  • Once configured, the generator's custom document can be downloaded using the Search Page. The generator will be an option using the Search Page's Download command when setting the Format to "Download Custom".


Example instructions to generate a "contact list" from the text content of a search result's document set:

Generate a CSV document listing all entities (people, companies, government) mentioned in the document quotes.  

List the entities in a table with the following columns:

Name - The name of the person or organization.
Address - The street address.
City - The city name.
State - The US state name.
ZIP - The ZIP code.
Phone - Phone number
Email - Email Address

Be sure to include every person name and company name in the list.  
If the value for a field cannot be determined, leave it blank.