Answer

marola.knowledge.OceanQa.Answer
final case class Answer(text: String, passages: List[Passage], safety: Boolean)

safety is true iff any retained passage came from knowledge/safety/ (MIP-0022) — computed once from retrieval, independent of which passage's text the model actually cited, so a strict-mode abstention on a safety question still carries the footer.

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]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product