@pulumi/digitalocean
Version:
A Pulumi package for creating and managing DigitalOcean cloud resources.
115 lines • 5.46 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/** @deprecated digitalocean.getGenaiAgent has been deprecated in favor of digitalocean.getGradientaiAgent */
export declare function getGenaiAgent(args: GetGenaiAgentArgs, opts?: pulumi.InvokeOptions): Promise<GetGenaiAgentResult>;
/**
* A collection of arguments for invoking getGenaiAgent.
*/
export interface GetGenaiAgentArgs {
agentGuardrails?: inputs.GetGenaiAgentAgentGuardrail[];
agentId: string;
anthropicApiKeys?: inputs.GetGenaiAgentAnthropicApiKey[];
apiKeyInfos?: inputs.GetGenaiAgentApiKeyInfo[];
apiKeys?: inputs.GetGenaiAgentApiKey[];
chatbotIdentifiers?: inputs.GetGenaiAgentChatbotIdentifier[];
chatbots?: inputs.GetGenaiAgentChatbot[];
deployments?: inputs.GetGenaiAgentDeployment[];
description?: string;
functions?: inputs.GetGenaiAgentFunction[];
ifCase?: string;
k?: number;
knowledgeBases?: inputs.GetGenaiAgentKnowledgeBase[];
maxTokens?: number;
models?: inputs.GetGenaiAgentModel[];
openAiApiKeys?: inputs.GetGenaiAgentOpenAiApiKey[];
retrievalMethod?: string;
routeCreatedBy?: string;
routeName?: string;
routeUuid?: string;
tags?: string[];
temperature?: number;
templates?: inputs.GetGenaiAgentTemplate[];
topP?: number;
url?: string;
userId?: string;
}
/**
* A collection of values returned by getGenaiAgent.
*/
export interface GetGenaiAgentResult {
readonly agentGuardrails?: outputs.GetGenaiAgentAgentGuardrail[];
readonly agentId: string;
readonly anthropicApiKeys?: outputs.GetGenaiAgentAnthropicApiKey[];
readonly apiKeyInfos?: outputs.GetGenaiAgentApiKeyInfo[];
readonly apiKeys?: outputs.GetGenaiAgentApiKey[];
readonly chatbotIdentifiers?: outputs.GetGenaiAgentChatbotIdentifier[];
readonly chatbots?: outputs.GetGenaiAgentChatbot[];
readonly childAgents: outputs.GetGenaiAgentChildAgent[];
readonly createdAt: string;
readonly deployments?: outputs.GetGenaiAgentDeployment[];
readonly description?: string;
readonly functions?: outputs.GetGenaiAgentFunction[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ifCase?: string;
readonly instruction: string;
readonly k?: number;
readonly knowledgeBases?: outputs.GetGenaiAgentKnowledgeBase[];
readonly maxTokens?: number;
readonly modelUuid: string;
readonly models: outputs.GetGenaiAgentModel[];
readonly name: string;
readonly openAiApiKeys?: outputs.GetGenaiAgentOpenAiApiKey[];
readonly parentAgents: outputs.GetGenaiAgentParentAgent[];
readonly projectId: string;
readonly region: string;
readonly retrievalMethod?: string;
readonly routeCreatedAt: string;
readonly routeCreatedBy?: string;
readonly routeName?: string;
readonly routeUuid?: string;
readonly tags?: string[];
readonly temperature?: number;
readonly templates?: outputs.GetGenaiAgentTemplate[];
readonly topP?: number;
readonly updatedAt: string;
readonly url?: string;
readonly userId?: string;
}
/** @deprecated digitalocean.getGenaiAgent has been deprecated in favor of digitalocean.getGradientaiAgent */
export declare function getGenaiAgentOutput(args: GetGenaiAgentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGenaiAgentResult>;
/**
* A collection of arguments for invoking getGenaiAgent.
*/
export interface GetGenaiAgentOutputArgs {
agentGuardrails?: pulumi.Input<pulumi.Input<inputs.GetGenaiAgentAgentGuardrailArgs>[] | undefined>;
agentId: pulumi.Input<string>;
anthropicApiKeys?: pulumi.Input<pulumi.Input<inputs.GetGenaiAgentAnthropicApiKeyArgs>[] | undefined>;
apiKeyInfos?: pulumi.Input<pulumi.Input<inputs.GetGenaiAgentApiKeyInfoArgs>[] | undefined>;
apiKeys?: pulumi.Input<pulumi.Input<inputs.GetGenaiAgentApiKeyArgs>[] | undefined>;
chatbotIdentifiers?: pulumi.Input<pulumi.Input<inputs.GetGenaiAgentChatbotIdentifierArgs>[] | undefined>;
chatbots?: pulumi.Input<pulumi.Input<inputs.GetGenaiAgentChatbotArgs>[] | undefined>;
deployments?: pulumi.Input<pulumi.Input<inputs.GetGenaiAgentDeploymentArgs>[] | undefined>;
description?: pulumi.Input<string | undefined>;
functions?: pulumi.Input<pulumi.Input<inputs.GetGenaiAgentFunctionArgs>[] | undefined>;
ifCase?: pulumi.Input<string | undefined>;
k?: pulumi.Input<number | undefined>;
knowledgeBases?: pulumi.Input<pulumi.Input<inputs.GetGenaiAgentKnowledgeBaseArgs>[] | undefined>;
maxTokens?: pulumi.Input<number | undefined>;
models?: pulumi.Input<pulumi.Input<inputs.GetGenaiAgentModelArgs>[] | undefined>;
openAiApiKeys?: pulumi.Input<pulumi.Input<inputs.GetGenaiAgentOpenAiApiKeyArgs>[] | undefined>;
retrievalMethod?: pulumi.Input<string | undefined>;
routeCreatedBy?: pulumi.Input<string | undefined>;
routeName?: pulumi.Input<string | undefined>;
routeUuid?: pulumi.Input<string | undefined>;
tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
temperature?: pulumi.Input<number | undefined>;
templates?: pulumi.Input<pulumi.Input<inputs.GetGenaiAgentTemplateArgs>[] | undefined>;
topP?: pulumi.Input<number | undefined>;
url?: pulumi.Input<string | undefined>;
userId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getGenaiAgent.d.ts.map