Interface ApiSelectOptions

Hierarchy

  • ApiSelectOptions

Properties

candidates: string[]

The input(s) that are compared to the reference and ranked based on likelihood.

concat_best?: boolean

If true, the response will contain a best field with the selected choice.

Defaults to true.

conjunction?: string

Expression used to link reference and candidates to create the prompt used to compute the likelihood. The prompt will have the structure reference + conjunction

  • candidate. Finding a good conjunction can greatly increase the performance of select.

Defaults to an empty string.

reference: string

The reference input to compute likelihood against.

Generated using TypeDoc