| Package | Description |
|---|---|
| dev.langchain4j.agent.tool | |
| dev.langchain4j.data.message | |
| dev.langchain4j.model |
| Modifier and Type | Method and Description |
|---|---|
ToolExecutionRequest |
ToolExecutionRequest.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
ToolExecutionRequestUtil.argument(ToolExecutionRequest toolExecutionRequest,
String name) |
| Modifier and Type | Method and Description |
|---|---|
List<ToolExecutionRequest> |
AiMessage.toolExecutionRequests() |
| Modifier and Type | Method and Description |
|---|---|
static AiMessage |
AiMessage.aiMessage(ToolExecutionRequest... toolExecutionRequests) |
static AiMessage |
AiMessage.from(ToolExecutionRequest... toolExecutionRequests) |
static ToolExecutionResultMessage |
ToolExecutionResultMessage.from(ToolExecutionRequest request,
String toolExecutionResult) |
static ToolExecutionResultMessage |
ToolExecutionResultMessage.toolExecutionResultMessage(ToolExecutionRequest request,
String toolExecutionResult) |
| Modifier and Type | Method and Description |
|---|---|
static AiMessage |
AiMessage.aiMessage(List<ToolExecutionRequest> toolExecutionRequests) |
static AiMessage |
AiMessage.from(List<ToolExecutionRequest> toolExecutionRequests) |
| Constructor and Description |
|---|
AiMessage(List<ToolExecutionRequest> toolExecutionRequests) |
| Modifier and Type | Method and Description |
|---|---|
default int |
Tokenizer.estimateTokenCountInForcefulToolExecutionRequest(ToolExecutionRequest toolExecutionRequest) |
| Modifier and Type | Method and Description |
|---|---|
int |
Tokenizer.estimateTokenCountInToolExecutionRequests(Iterable<ToolExecutionRequest> toolExecutionRequests) |
Copyright © 2023. All rights reserved.