UNPKG

@aige/core

Version:
30 lines (29 loc) 1.2 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.execute = exports.schema = void 0; const CreateSchema_1 = __importDefault(require("../schemas/CreateSchema")); exports.schema = { type: 'function', function: { name: 'create_game', description: 'Creates a new game; use the language parameter to determine the language of your responses', parameters: { type: 'object', properties: CreateSchema_1.default, required: [ 'location', 'location_description', 'appearance', 'scene', 'scene_emoji', 'rumor', 'health', 'health_description', 'armor', 'money', 'money_name', 'weight_capacity', 'weight_unit', 'experience', 'reputation', 'reputation_description', 'weather', 'weather_emoji', 'weather_description', 'actions', 'inventory', 'abilities', 'characters', 'quests' ] } } }; const execute = (parameters) => { return parameters; }; exports.execute = execute;