public class AiAgentBasicTextTool extends AiAgentBasicTextToolBase
| Modifier and Type | Class and Description |
|---|---|
static class |
AiAgentBasicTextTool.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 try to help the LLM "understand" its role and what it is supposed to do.
|
llmEndpointParams, model, numTokensForCompletionexplicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
AiAgentBasicTextTool() |
protected |
AiAgentBasicTextTool(AiAgentBasicTextTool.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
public AiAgentBasicTextTool()
protected AiAgentBasicTextTool(AiAgentBasicTextTool.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