Skip to main content

Flow

1
Start of with the prompt template. The prompt template should include:
  1. The signals you want to extract
  2. The data-context the model should use to extract data. (This will be done using functions)
2
After you have the prompt fill in signals.
  1. For each signal you need to fill in:
    1. Name - Will be the signal name
    2. Description - Explain the model exactly how to compute this step.
    3. Type - Boolean / String.
3
Run

Functions

In order to add data context to the prompt we use functions. Functions are executed and added to the prompt prior to sending the prompt to the model.

Supported functions

Parameters: query Description: Performs a Google search using the query string parameter and returns the results. Here is an example where we might wand to add context regarding company’s layoff:

ReadUrlText

LinkedinSearch

GetCompanyContacts

LinkQuestionAnswering

SearchForNaicsCodes