17 lines
795 B
TypeScript
17 lines
795 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { BestOfNSamplingConfig } from "./BestOfNSamplingConfig";
|
|
import type { ChainOfThoughtConfig } from "./ChainOfThoughtConfig";
|
|
import type { ChatCompletionConfig } from "./ChatCompletionConfig";
|
|
import type { DiclConfig } from "./DiclConfig";
|
|
import type { MixtureOfNConfig } from "./MixtureOfNConfig";
|
|
|
|
/**
|
|
* NOTE: Contains deprecated variant `ChainOfThought` (#5298 / 2026.2+)
|
|
*/
|
|
export type VariantConfig =
|
|
| ({ type: "chat_completion" } & ChatCompletionConfig)
|
|
| ({ type: "best_of_n_sampling" } & BestOfNSamplingConfig)
|
|
| ({ type: "dicl" } & DiclConfig)
|
|
| ({ type: "mixture_of_n" } & MixtureOfNConfig)
|
|
| ({ type: "chain_of_thought" } & ChainOfThoughtConfig);
|