* Translates a natural language request into an object of type `T`. If the JSON object returned by * the language model fails to validate and the `attemptRepair` property is `true`, a second * attempt to translate the request will be made. The prompt for the second attempt will include the
(request: string, promptPreamble?: string | PromptSection[])
| 61 | * @returns A promise for the resulting object. |
| 62 | */ |
| 63 | translate(request: string, promptPreamble?: string | PromptSection[]): Promise<Result<T>>; |
| 64 | } |
| 65 | |
| 66 | /** |
no outgoing calls
no test coverage detected