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.GPTToolExecutionContextGPTCompletionCallback. getToolExecutionContext()For tool calls: set the context to execute actions in.GPTCompletionCallback.GPTToolExecutionContextGPTCompletionCallback.GPTCompletionCallbackWrapper. getToolExecutionContext()GPTCompletionCallback.GPTToolExecutionContextGPTCompletionCallback.GPTCompletionCollector. getToolExecutionContext()Methods in com.composum.ai.backend.base.service.chat with parameters of type GPTCompletionCallback.GPTToolExecutionContext Modifier and Type Method Description StringGPTTool. 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 StringAITool. 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 StringGetPageMarkdownAITool. 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.StringModifyPageReadTool. execute(String arguments, org.apache.sling.api.resource.Resource resource, GPTCompletionCallback.GPTToolExecutionContext context)StringModifyPageWriteTool. execute(String arguments, org.apache.sling.api.resource.Resource resource, GPTCompletionCallback.GPTToolExecutionContext context)StringSearchPageAITool. 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 classSlingGPTExecutionContextFor Sling tools: the request and response of the streaming as executin context for tool calls.
-