ai object. This object contains the following
utility function:
Generating text
Thegenerate utility function allows you to prompt an LLM to generate text.
The input is a string which the LLM will use as the prompt.
- Function signature
- Example
ai object. This object contains the following
utility function:
generate utility function allows you to prompt an LLM to generate text.
The input is a string which the LLM will use as the prompt.