20 lines
731 B
TypeScript
20 lines
731 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { UninitializedChatCompletionConfig } from "./UninitializedChatCompletionConfig";
|
|
|
|
/**
|
|
* Job handle for GEPA optimization
|
|
*
|
|
* Contains the final Pareto frontier of optimized variants or an error message.
|
|
* GEPA optimization is synchronous, so polling immediately returns the completed
|
|
* results or failure status.
|
|
*/
|
|
export type GEPAJobHandle = {
|
|
/**
|
|
* Result of the GEPA optimization - either a map of variant names to their
|
|
* configurations (the Pareto frontier) or an error message
|
|
*/
|
|
result:
|
|
| { Ok: { [key in string]: UninitializedChatCompletionConfig } }
|
|
| { Err: string };
|
|
};
|