Documentation
¶
Index ¶
- func AnswerCorrectnessInstructions() string
- func AnswerCorrectnessSchema() json.RawMessage
- func AnswerRelevancyInstructions() string
- func AnswerRelevancySchema() json.RawMessage
- func BiasInstructions() string
- func BiasSchema() json.RawMessage
- func BuildUserPrompt(question, answer string, docs []Document) string
- func BuildUserPromptWithExpected(question, answer, expectedAnswer string, docs []Document) string
- func BuildUserPromptWithExpectedAndInstructions(question, answer, expectedAnswer, expectedInstructions string, docs []Document) string
- func CitationAccuracyInstructions() string
- func CitationAccuracySchema() json.RawMessage
- func CoherenceInstructions() string
- func CoherenceSchema() json.RawMessage
- func CompletenessInstructions() string
- func CompletenessSchema() json.RawMessage
- func ConcisenessInstructions() string
- func ConcisenessSchema() json.RawMessage
- func ContextPrecisionInstructions() string
- func ContextPrecisionSchema() json.RawMessage
- func ContextRecallInstructions() string
- func ContextRecallSchema() json.RawMessage
- func ContextRelevancyInstructions() string
- func ContextRelevancySchema() json.RawMessage
- func FaithfulnessInstructions() string
- func FaithfulnessSchema() json.RawMessage
- func GEvalInstructions(criteria string) string
- func HallucinationInstructions() string
- func HallucinationSchema() json.RawMessage
- func InstructionAdherenceInstructions() string
- func InstructionAdherenceSchema() json.RawMessage
- func SummarizationQualityInstructions() string
- func SummarizationQualitySchema() json.RawMessage
- func ToxicityInstructions() string
- func ToxicitySchema() json.RawMessage
- type Document
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnswerCorrectnessInstructions ¶ added in v1.1.0
func AnswerCorrectnessInstructions() string
func AnswerCorrectnessSchema ¶ added in v1.1.0
func AnswerCorrectnessSchema() json.RawMessage
func AnswerRelevancyInstructions ¶
func AnswerRelevancyInstructions() string
func AnswerRelevancySchema ¶
func AnswerRelevancySchema() json.RawMessage
func BiasInstructions ¶ added in v1.1.0
func BiasInstructions() string
func BiasSchema ¶ added in v1.1.0
func BiasSchema() json.RawMessage
func BuildUserPrompt ¶
func BuildUserPromptWithExpected ¶ added in v1.1.0
func BuildUserPromptWithExpectedAndInstructions ¶ added in v1.1.0
func CitationAccuracyInstructions ¶ added in v1.1.0
func CitationAccuracyInstructions() string
func CitationAccuracySchema ¶ added in v1.1.0
func CitationAccuracySchema() json.RawMessage
func CoherenceInstructions ¶ added in v1.1.0
func CoherenceInstructions() string
func CoherenceSchema ¶ added in v1.1.0
func CoherenceSchema() json.RawMessage
func CompletenessInstructions ¶ added in v1.1.0
func CompletenessInstructions() string
func CompletenessSchema ¶ added in v1.1.0
func CompletenessSchema() json.RawMessage
func ConcisenessInstructions ¶ added in v1.1.0
func ConcisenessInstructions() string
func ConcisenessSchema ¶ added in v1.1.0
func ConcisenessSchema() json.RawMessage
func ContextPrecisionInstructions ¶ added in v1.1.0
func ContextPrecisionInstructions() string
func ContextPrecisionSchema ¶ added in v1.1.0
func ContextPrecisionSchema() json.RawMessage
func ContextRecallInstructions ¶ added in v1.1.0
func ContextRecallInstructions() string
func ContextRecallSchema ¶ added in v1.1.0
func ContextRecallSchema() json.RawMessage
func ContextRelevancyInstructions ¶ added in v1.1.0
func ContextRelevancyInstructions() string
func ContextRelevancySchema ¶ added in v1.1.0
func ContextRelevancySchema() json.RawMessage
func FaithfulnessInstructions ¶
func FaithfulnessInstructions() string
func FaithfulnessSchema ¶
func FaithfulnessSchema() json.RawMessage
func GEvalInstructions ¶ added in v1.1.0
func HallucinationInstructions ¶ added in v1.1.0
func HallucinationInstructions() string
func HallucinationSchema ¶ added in v1.1.0
func HallucinationSchema() json.RawMessage
func InstructionAdherenceInstructions ¶ added in v1.1.0
func InstructionAdherenceInstructions() string
func InstructionAdherenceSchema ¶ added in v1.1.0
func InstructionAdherenceSchema() json.RawMessage
func SummarizationQualityInstructions ¶ added in v1.1.0
func SummarizationQualityInstructions() string
func SummarizationQualitySchema ¶ added in v1.1.0
func SummarizationQualitySchema() json.RawMessage
func ToxicityInstructions ¶ added in v1.1.0
func ToxicityInstructions() string
func ToxicitySchema ¶ added in v1.1.0
func ToxicitySchema() json.RawMessage
Types ¶
Click to show internal directories.
Click to hide internal directories.