import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Knowledge Base resource in Oracle Cloud Infrastructure Generative Ai Agent service. * * Gets information about a knowledge base. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testKnowledgeBase = oci.generativeai.getAgentKnowledgeBase({ * knowledgeBaseId: testKnowledgeBaseOciGenerativeAiAgentKnowledgeBase.id, * }); * ``` */ export declare function getAgentKnowledgeBase(args: GetAgentKnowledgeBaseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAgentKnowledgeBase. */ export interface GetAgentKnowledgeBaseArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledge base. */ knowledgeBaseId: string; } /** * A collection of values returned by getAgentKnowledgeBase. */ export interface GetAgentKnowledgeBaseResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * A description of the knowledge base. */ readonly description: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. */ readonly displayName: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledge base. */ readonly id: string; /** * The index configuration of Knowledge bases. */ readonly indexConfigs: outputs.GenerativeAi.GetAgentKnowledgeBaseIndexConfig[]; readonly knowledgeBaseId: string; /** * Statistics for Default Knowledge Base. */ readonly knowledgeBaseStatistics: outputs.GenerativeAi.GetAgentKnowledgeBaseKnowledgeBaseStatistic[]; /** * A message that describes the current state of the knowledge base in more detail. For example, can be used to provide actionable information for a resource in the Failed state. */ readonly lifecycleDetails: string; /** * The current state of the knowledge base. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the knowledge base was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; /** * The date and time the knowledge base was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeUpdated: string; } /** * This data source provides details about a specific Knowledge Base resource in Oracle Cloud Infrastructure Generative Ai Agent service. * * Gets information about a knowledge base. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testKnowledgeBase = oci.generativeai.getAgentKnowledgeBase({ * knowledgeBaseId: testKnowledgeBaseOciGenerativeAiAgentKnowledgeBase.id, * }); * ``` */ export declare function getAgentKnowledgeBaseOutput(args: GetAgentKnowledgeBaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAgentKnowledgeBase. */ export interface GetAgentKnowledgeBaseOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledge base. */ knowledgeBaseId: pulumi.Input; } //# sourceMappingURL=getAgentKnowledgeBase.d.ts.map