Knowledge
Use Terraform to manage Knowledge in Kubiya.
Last updated
Was this helpful?
Use Terraform to manage Knowledge in Kubiya.
Last updated
Was this helpful?
The kubiya_knowledge resource stores information about a particular piece of knowledge that is typically used within your organization. For more information .
Want to know more about Knowledge in Kubiya?
Provides a Kubiya Knowledge resource. This allows knowledge resources to be created, updated, and deleted on the Kubiya platform. Knowledge resources add specific information that can be used by Kubiya agents.
The following arguments are supported:
name
- (Required) The name of the knowledge resource.
description
- (Required) A description of the knowledge resource.
content
- (Required) The content of the knowledge resource. This can be provided directly or loaded from a file using the file()
function.
groups
- (Required) List of user groups that have access to this knowledge resource.
format
- (Optional) The format of the content. Values: "markdown", "text", "json", etc. Defaults to "text".
labels
- (Optional) List of labels/tags to help organize and find knowledge resources.
supported_agents
- (Optional) List of agent names that can access and use this knowledge resource. If not specified, all agents can use the knowledge.
type
- (Optional) The type of the knowledge. Defaults to "knowledge".
In addition to the arguments above, the following attributes are exported:
id
- The ID of the knowledge resource.
owner
- The owner of the knowledge resource.
Knowledge resources in Kubiya support fine-grained access control through:
Groups: Restrict access to specific user groups in your organization (required)
Supported Agents: Limit which AI Teammates (agents) can utilize this knowledge
Labels: Organize knowledge and improve discoverability
These controls help you manage who can see sensitive information and which agents can leverage specific knowledge in their responses.
Knowledge resources can be imported using the id
: