Docs

Interface: SystemOneResult<Q>

Interface: SystemOneResult<Q>

Answers keyed by question name, with model and usage metadata.

Type Parameters

Q

Q extends Questions

Properties

answers

readonly answers: { readonly [K in string | number | symbol]: ResultFor<Q[K]> };

Answers with types inferred from the supplied questions.


model

readonly model: string;

The model used to answer the request.


usage

readonly usage: Usage;

Token usage for the request.