models

package
v1.24.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Answer

type Answer struct {
	Result        *string  `json:"result,omitempty"`
	Property      *string  `json:"property,omitempty"`
	StartPosition int      `json:"startPosition,omitempty"`
	EndPosition   int      `json:"endPosition,omitempty"`
	Certainty     *float64 `json:"certainty,omitempty"`
	Distance      *float64 `json:"distance,omitempty"`
	HasAnswer     bool     `json:"hasAnswer,omitempty"`
}

Answer used in qna module to represent the answer to a given question

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL