GraphQAResult

org.llm4s.knowledgegraph.query.GraphQAResult
case class GraphQAResult(answer: String, citations: Seq[Citation], entities: Seq[IdentifiedEntity], queryResult: GraphQueryResult)

Result of graph-guided question answering.

Value parameters

answer

The generated answer text

citations

Sources that contributed to the answer

entities

Key entities identified in the question and used for context

queryResult

The raw graph query result used for context

Attributes

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