|
Using the aichat$() Function in Sheerpower
The aichat$()
function in Sheerpower allows you to send
prompts to AI models and receive responses. You can use this function to
integrate AI capabilities into your application, whether it's for chat,
data generation, or other AI-driven tasks.
Syntax:
Parameters:
TRUE
or
FALSE
) indicating if the response should be word-wrapped
(optional).Examples:
This sends a prompt to the AI and prints the word-wrapped response.
Directives for AI Interactions
Directives modify how aichat$()
behaves, such as specifying
an API key or starting a new conversation.
xxxx
)
to the AI service. If omitted, a default API key is used. This directive
also starts a new conversation.Example:
This sets the API key and initiates a new conversation.
Notes:
Hide Description
|
|
Enter or modify the code below, and then click on RUN |
Looking for the full power of Sheerpower?
Check out the Sheerpower website. Free to download. Free to use. |