LLM (PQL)

Sends the text input as a prompt to chatGpt and returns the response from the ChatGpt engine

  • Returned Output: Text
  • Library: PQL \ Common \ String
  • Version: 2023.00.000
  • Compatibility:
    • Can be combined with and other PQL function throughout the application.
    • It CANNOT be used with MDX or VBA functions. But it can be used on MDX-based content in other parts of the application.

Syntax

LLM( <Text> )

Syntax Alternatives

ChatGpt( <Text> )

* Click on the function's arguments above for more details on the input values.

Comments
  • The input text string can be any alphanumeric set of characters.

Examples

This example could return "There are 54 recognized countries in Africa.” Note that this output depends on the LLM, so the output could vary.

LLM(“How many countries are there in Africa?”)