Package burp.api.montoya.ai.chat
Interface Prompt
public interface Prompt
Provides access to AI chat prompt functionality.
-
Method Summary
Modifier and TypeMethodDescriptionEvaluates a series of messages using the AI chat prompt.execute
(PromptOptions options, Message... messages) Evaluates a series of messages using the AI chat prompt using the provided prompt options.execute
(PromptOptions options, String... messages) Evaluates a series of messages using the AI chat prompt using the provided prompt options.Evaluates a series of messages using the AI chat prompt.
-
Method Details
-
execute
Evaluates a series of messages using the AI chat prompt.- Parameters:
messages
- messages to evaluate- Returns:
- A
PromptResponse
object with the response from the chat prompt. - Throws:
PromptException
- if there is a problem executing the prompt.
-
execute
Evaluates a series of messages using the AI chat prompt using the provided prompt options.- Parameters:
options
- prompt optionsmessages
- messages to evaluate- Returns:
- A
PromptResponse
object with the response from the chat prompt. - Throws:
PromptException
- if there is a problem executing the prompt.
-
execute
Evaluates a series of messages using the AI chat prompt.- Parameters:
messages
- messages to evaluate- Returns:
- A
PromptResponse
object with the response from the chat prompt. - Throws:
PromptException
- if there is a problem executing the prompt.
-
execute
Evaluates a series of messages using the AI chat prompt using the provided prompt options.- Parameters:
options
- prompt optionsmessages
- messages to evaluate- Returns:
- A
PromptResponse
object with the response from the chat prompt. - Throws:
PromptException
- if there is a problem executing the prompt.
-