GraphQueryToolResult

org.llm4s.knowledgegraph.tool.GraphQueryToolResult
See theGraphQueryToolResult companion object
case class GraphQueryToolResult(answer: String, citations: Seq[String], entityCount: Int)

Result returned by the graph query tool to the agent.

Value parameters

answer

The generated answer

citations

Sources that contributed to the answer

entityCount

Number of entities used for context

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product