Class AgentCompletion

java.lang.Object
mindsdb.models.agent.AgentCompletion

public class AgentCompletion extends Object
Represents a full MindsDB agent completion response. Attributes: content: The completion content. context: Only relevant for retrieval agents. Contains the context retrieved from the knowledge base.
  • Constructor Details

    • AgentCompletion

      public AgentCompletion(String content, List<String> context)
      Constructs a new AgentCompletion instance.
      Parameters:
      content - The completion content.
      context - The completion context.
  • Method Details