Uses of Interface
com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTToolExecutionContext
-
-
Uses of GPTCompletionCallback.GPTToolExecutionContext in com.composum.ai.backend.base.service.chat
Methods in com.composum.ai.backend.base.service.chat that return GPTCompletionCallback.GPTToolExecutionContext Modifier and Type Method Description default GPTCompletionCallback.GPTToolExecutionContext
GPTCompletionCallback. getToolExecutionContext()
For tool calls: set the context to execute actions in.GPTCompletionCallback.GPTToolExecutionContext
GPTCompletionCallback.GPTCompletionCallbackWrapper. getToolExecutionContext()
GPTCompletionCallback.GPTToolExecutionContext
GPTCompletionCallback.GPTCompletionCollector. getToolExecutionContext()
Methods in com.composum.ai.backend.base.service.chat with parameters of type GPTCompletionCallback.GPTToolExecutionContext Modifier and Type Method Description String
GPTTool. execute(String arguments, GPTCompletionCallback.GPTToolExecutionContext context)
Executes the tool call and returns the result to present to the AI. -
Uses of GPTCompletionCallback.GPTToolExecutionContext in com.composum.ai.backend.slingbase.experimential
Methods in com.composum.ai.backend.slingbase.experimential with parameters of type GPTCompletionCallback.GPTToolExecutionContext Modifier and Type Method Description String
AITool. execute(String arguments, org.apache.sling.api.resource.Resource resource, GPTCompletionCallback.GPTToolExecutionContext context)
Executes the tool call and returns the result to present to the AI. -
Uses of GPTCompletionCallback.GPTToolExecutionContext in com.composum.ai.backend.slingbase.experimential.impl
Methods in com.composum.ai.backend.slingbase.experimential.impl with parameters of type GPTCompletionCallback.GPTToolExecutionContext Modifier and Type Method Description String
GetPageMarkdownAITool. execute(String arguments, org.apache.sling.api.resource.Resource resource, GPTCompletionCallback.GPTToolExecutionContext context)
Does a query with lucene and then rates the results with the embedding.String
SearchPageAITool. execute(String arguments, org.apache.sling.api.resource.Resource resource, GPTCompletionCallback.GPTToolExecutionContext context)
Does a query with lucene and then rates the results with the embedding. -
Uses of GPTCompletionCallback.GPTToolExecutionContext in com.composum.ai.backend.slingbase.model
Classes in com.composum.ai.backend.slingbase.model that implement GPTCompletionCallback.GPTToolExecutionContext Modifier and Type Class Description class
SlingGPTExecutionContext
For Sling tools: the request and response of the streaming as executin context for tool calls.
-