public class AiAgentBasicTextToolTextGen extends AiAgentBasicTextToolBase
| Modifier and Type | Class and Description |
|---|---|
static class |
AiAgentBasicTextToolTextGen.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
promptTemplate
The prompt template contains contextual information of the request and the user prompt.
|
protected String |
systemMessage
System messages aim at helping the LLM understand its role and what it is supposed to do.
|
llmEndpointParams, model, numTokensForCompletionexplicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
AiAgentBasicTextToolTextGen() |
protected |
AiAgentBasicTextToolTextGen(AiAgentBasicTextToolTextGen.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getPromptTemplate() |
String |
getSystemMessage() |
int |
hashCode() |
String |
toString() |
getLlmEndpointParams, getModel, getNumTokensForCompletiongetRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected String systemMessage
protected String promptTemplate
When using the `prompt_template` parameter, you **must include** input for `{user_question}`. Inputs for `{current_date}` and `{content}` are optional, depending on the use.
public AiAgentBasicTextToolTextGen()
protected AiAgentBasicTextToolTextGen(AiAgentBasicTextToolTextGen.Builder builder)
public String getSystemMessage()
public String getPromptTemplate()
public boolean equals(Object o)
equals in class AiAgentBasicTextToolBasepublic int hashCode()
hashCode in class AiAgentBasicTextToolBasepublic String toString()
toString in class AiAgentBasicTextToolBase