24 lines
560 B
JavaScript
24 lines
560 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.GenerationDirective = void 0;
|
|
const name = 'generation';
|
|
const definition = `
|
|
directive @${name}(
|
|
aiModel: String!
|
|
systemPrompt: String!
|
|
inferenceConfiguration: GenerationInferenceConfiguration
|
|
) on FIELD_DEFINITION
|
|
|
|
input GenerationInferenceConfiguration {
|
|
maxTokens: Int
|
|
temperature: Float
|
|
topP: Float
|
|
}
|
|
`;
|
|
const defaults = {};
|
|
exports.GenerationDirective = {
|
|
name,
|
|
definition,
|
|
defaults,
|
|
};
|
|
//# sourceMappingURL=generation.js.map
|