@pulumi/digitalocean
Version:
A Pulumi package for creating and managing DigitalOcean cloud resources.
72 lines • 2.92 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getGenaiAgentOutput = exports.getGenaiAgent = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
function getGenaiAgent(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("digitalocean:index/getGenaiAgent:getGenaiAgent", {
"agentGuardrails": args.agentGuardrails,
"agentId": args.agentId,
"anthropicApiKeys": args.anthropicApiKeys,
"apiKeyInfos": args.apiKeyInfos,
"apiKeys": args.apiKeys,
"chatbotIdentifiers": args.chatbotIdentifiers,
"chatbots": args.chatbots,
"deployments": args.deployments,
"description": args.description,
"functions": args.functions,
"ifCase": args.ifCase,
"k": args.k,
"knowledgeBases": args.knowledgeBases,
"maxTokens": args.maxTokens,
"models": args.models,
"openAiApiKeys": args.openAiApiKeys,
"retrievalMethod": args.retrievalMethod,
"routeCreatedBy": args.routeCreatedBy,
"routeName": args.routeName,
"routeUuid": args.routeUuid,
"tags": args.tags,
"temperature": args.temperature,
"templates": args.templates,
"topP": args.topP,
"url": args.url,
"userId": args.userId,
}, opts);
}
exports.getGenaiAgent = getGenaiAgent;
function getGenaiAgentOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("digitalocean:index/getGenaiAgent:getGenaiAgent", {
"agentGuardrails": args.agentGuardrails,
"agentId": args.agentId,
"anthropicApiKeys": args.anthropicApiKeys,
"apiKeyInfos": args.apiKeyInfos,
"apiKeys": args.apiKeys,
"chatbotIdentifiers": args.chatbotIdentifiers,
"chatbots": args.chatbots,
"deployments": args.deployments,
"description": args.description,
"functions": args.functions,
"ifCase": args.ifCase,
"k": args.k,
"knowledgeBases": args.knowledgeBases,
"maxTokens": args.maxTokens,
"models": args.models,
"openAiApiKeys": args.openAiApiKeys,
"retrievalMethod": args.retrievalMethod,
"routeCreatedBy": args.routeCreatedBy,
"routeName": args.routeName,
"routeUuid": args.routeUuid,
"tags": args.tags,
"temperature": args.temperature,
"templates": args.templates,
"topP": args.topP,
"url": args.url,
"userId": args.userId,
}, opts);
}
exports.getGenaiAgentOutput = getGenaiAgentOutput;
//# sourceMappingURL=getGenaiAgent.js.map