utils

package
v1.3.10 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallExam

func CallExam(context []model.SessionSymptom) examResponseBody

func CallNlp

func CallNlp(sentence string, symptoms []string) nlpResponseBody

func SymptomsToString

func SymptomsToString(symptoms []Symptom) []string

func WakeNlpUp

func WakeNlpUp()

Types

type Symptom

type Symptom struct {
	Name    string `json:"symptom"`
	Present *bool  `json:"present"`
}

func StringToSymptoms

func StringToSymptoms(strings []string) []Symptom

Jump to

Keyboard shortcuts

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