UNPKG

mongodb-rag-core

Version:

Common elements used by MongoDB Chatbot Framework components.

93 lines 1.88 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MongoDBProgrammingLanguageSchema = exports.mongoDbProgrammingLanguageIds = exports.mongoDbProgrammingLanguages = void 0; const zod_1 = require("zod"); exports.mongoDbProgrammingLanguages = [ { id: "objective-c", name: "Objective-C", }, { id: "c", name: "C", }, { id: "csharp", name: "C#", }, { id: "cpp", name: "C++", }, { id: "dart", name: "Dart", }, { id: "go", name: "Go", }, { id: "graphql", name: "GraphQL", }, { id: "java", name: "Java", }, { id: "javascript", name: "JavaScript", }, { id: "json", name: "JSON", }, { id: "kotlin", name: "Kotlin", }, { id: "typescript", name: "TypeScript", }, { id: "perl", name: "Perl", }, { id: "php", name: "PHP", }, { id: "python", name: "Python", }, { id: "ruby", name: "Ruby", }, { id: "rust", name: "Rust", }, { id: "scala", name: "Scala", }, { id: "shell", name: "Shell", }, { id: "swift", name: "Swift", }, ]; exports.mongoDbProgrammingLanguageIds = exports.mongoDbProgrammingLanguages.map((language) => language.id); exports.MongoDBProgrammingLanguageSchema = zod_1.z.object({ id: zod_1.z.string().describe("Unique identifier for the topic"), name: zod_1.z.string().describe("Human-friendly name of the topic"), description: zod_1.z.string().optional().describe("Brief description of the topic"), }); //# sourceMappingURL=programmingLanguages.js.map