digitalocean.GenaiKnowledgeBase
Explore with Pulumi AI
Create GenaiKnowledgeBase Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GenaiKnowledgeBase(name: string, args: GenaiKnowledgeBaseArgs, opts?: CustomResourceOptions);
@overload
def GenaiKnowledgeBase(resource_name: str,
args: GenaiKnowledgeBaseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GenaiKnowledgeBase(resource_name: str,
opts: Optional[ResourceOptions] = None,
datasources: Optional[Sequence[GenaiKnowledgeBaseDataSourceArgs]] = None,
embedding_model_uuid: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
added_to_agent_at: Optional[str] = None,
database_id: Optional[str] = None,
is_public: Optional[bool] = None,
last_indexing_jobs: Optional[Sequence[GenaiKnowledgeBaseLastIndexingJobArgs]] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
vpc_uuid: Optional[str] = None)
func NewGenaiKnowledgeBase(ctx *Context, name string, args GenaiKnowledgeBaseArgs, opts ...ResourceOption) (*GenaiKnowledgeBase, error)
public GenaiKnowledgeBase(string name, GenaiKnowledgeBaseArgs args, CustomResourceOptions? opts = null)
public GenaiKnowledgeBase(String name, GenaiKnowledgeBaseArgs args)
public GenaiKnowledgeBase(String name, GenaiKnowledgeBaseArgs args, CustomResourceOptions options)
type: digitalocean:GenaiKnowledgeBase
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GenaiKnowledgeBaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GenaiKnowledgeBaseArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GenaiKnowledgeBaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GenaiKnowledgeBaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GenaiKnowledgeBaseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var genaiKnowledgeBaseResource = new DigitalOcean.GenaiKnowledgeBase("genaiKnowledgeBaseResource", new()
{
Datasources = new[]
{
new DigitalOcean.Inputs.GenaiKnowledgeBaseDataSourceArgs
{
CreatedAt = "string",
FileUploadDataSources = new[]
{
new DigitalOcean.Inputs.GenaiKnowledgeBaseDataSourceFileUploadDataSourceArgs
{
OriginalFileName = "string",
SizeInBytes = "string",
StoredObjectKey = "string",
},
},
LastIndexingJobs = new[]
{
new DigitalOcean.Inputs.GenaiKnowledgeBaseDataSourceLastIndexingJobArgs
{
CompletedDatasources = 0,
CreatedAt = "string",
DataSourceUuids = new[]
{
"string",
},
FinishedAt = "string",
KnowledgeBaseUuid = "string",
Phase = "string",
StartedAt = "string",
Tokens = 0,
TotalDatasources = 0,
UpdatedAt = "string",
Uuid = "string",
},
},
SpacesDataSources = new[]
{
new DigitalOcean.Inputs.GenaiKnowledgeBaseDataSourceSpacesDataSourceArgs
{
BucketName = "string",
ItemPath = "string",
Region = "string",
},
},
UpdatedAt = "string",
Uuid = "string",
WebCrawlerDataSources = new[]
{
new DigitalOcean.Inputs.GenaiKnowledgeBaseDataSourceWebCrawlerDataSourceArgs
{
BaseUrl = "string",
CrawlingOption = "string",
EmbedMedia = false,
},
},
},
},
EmbeddingModelUuid = "string",
ProjectId = "string",
Region = "string",
AddedToAgentAt = "string",
DatabaseId = "string",
IsPublic = false,
LastIndexingJobs = new[]
{
new DigitalOcean.Inputs.GenaiKnowledgeBaseLastIndexingJobArgs
{
CompletedDatasources = 0,
CreatedAt = "string",
DataSourceUuids = new[]
{
"string",
},
FinishedAt = "string",
KnowledgeBaseUuid = "string",
Phase = "string",
StartedAt = "string",
Tokens = 0,
TotalDatasources = 0,
UpdatedAt = "string",
Uuid = "string",
},
},
Name = "string",
Tags = new[]
{
"string",
},
VpcUuid = "string",
});
example, err := digitalocean.NewGenaiKnowledgeBase(ctx, "genaiKnowledgeBaseResource", &digitalocean.GenaiKnowledgeBaseArgs{
Datasources: digitalocean.GenaiKnowledgeBaseDataSourceTypeArray{
&digitalocean.GenaiKnowledgeBaseDataSourceTypeArgs{
CreatedAt: pulumi.String("string"),
FileUploadDataSources: digitalocean.GenaiKnowledgeBaseDataSourceFileUploadDataSourceArray{
&digitalocean.GenaiKnowledgeBaseDataSourceFileUploadDataSourceArgs{
OriginalFileName: pulumi.String("string"),
SizeInBytes: pulumi.String("string"),
StoredObjectKey: pulumi.String("string"),
},
},
LastIndexingJobs: digitalocean.GenaiKnowledgeBaseDataSourceLastIndexingJobArray{
&digitalocean.GenaiKnowledgeBaseDataSourceLastIndexingJobArgs{
CompletedDatasources: pulumi.Int(0),
CreatedAt: pulumi.String("string"),
DataSourceUuids: pulumi.StringArray{
pulumi.String("string"),
},
FinishedAt: pulumi.String("string"),
KnowledgeBaseUuid: pulumi.String("string"),
Phase: pulumi.String("string"),
StartedAt: pulumi.String("string"),
Tokens: pulumi.Int(0),
TotalDatasources: pulumi.Int(0),
UpdatedAt: pulumi.String("string"),
Uuid: pulumi.String("string"),
},
},
SpacesDataSources: digitalocean.GenaiKnowledgeBaseDataSourceSpacesDataSourceArray{
&digitalocean.GenaiKnowledgeBaseDataSourceSpacesDataSourceArgs{
BucketName: pulumi.String("string"),
ItemPath: pulumi.String("string"),
Region: pulumi.String("string"),
},
},
UpdatedAt: pulumi.String("string"),
Uuid: pulumi.String("string"),
WebCrawlerDataSources: digitalocean.GenaiKnowledgeBaseDataSourceWebCrawlerDataSourceArray{
&digitalocean.GenaiKnowledgeBaseDataSourceWebCrawlerDataSourceArgs{
BaseUrl: pulumi.String("string"),
CrawlingOption: pulumi.String("string"),
EmbedMedia: pulumi.Bool(false),
},
},
},
},
EmbeddingModelUuid: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Region: pulumi.String("string"),
AddedToAgentAt: pulumi.String("string"),
DatabaseId: pulumi.String("string"),
IsPublic: pulumi.Bool(false),
LastIndexingJobs: digitalocean.GenaiKnowledgeBaseLastIndexingJobArray{
&digitalocean.GenaiKnowledgeBaseLastIndexingJobArgs{
CompletedDatasources: pulumi.Int(0),
CreatedAt: pulumi.String("string"),
DataSourceUuids: pulumi.StringArray{
pulumi.String("string"),
},
FinishedAt: pulumi.String("string"),
KnowledgeBaseUuid: pulumi.String("string"),
Phase: pulumi.String("string"),
StartedAt: pulumi.String("string"),
Tokens: pulumi.Int(0),
TotalDatasources: pulumi.Int(0),
UpdatedAt: pulumi.String("string"),
Uuid: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
VpcUuid: pulumi.String("string"),
})
var genaiKnowledgeBaseResource = new GenaiKnowledgeBase("genaiKnowledgeBaseResource", GenaiKnowledgeBaseArgs.builder()
.datasources(GenaiKnowledgeBaseDataSourceArgs.builder()
.createdAt("string")
.fileUploadDataSources(GenaiKnowledgeBaseDataSourceFileUploadDataSourceArgs.builder()
.originalFileName("string")
.sizeInBytes("string")
.storedObjectKey("string")
.build())
.lastIndexingJobs(GenaiKnowledgeBaseDataSourceLastIndexingJobArgs.builder()
.completedDatasources(0)
.createdAt("string")
.dataSourceUuids("string")
.finishedAt("string")
.knowledgeBaseUuid("string")
.phase("string")
.startedAt("string")
.tokens(0)
.totalDatasources(0)
.updatedAt("string")
.uuid("string")
.build())
.spacesDataSources(GenaiKnowledgeBaseDataSourceSpacesDataSourceArgs.builder()
.bucketName("string")
.itemPath("string")
.region("string")
.build())
.updatedAt("string")
.uuid("string")
.webCrawlerDataSources(GenaiKnowledgeBaseDataSourceWebCrawlerDataSourceArgs.builder()
.baseUrl("string")
.crawlingOption("string")
.embedMedia(false)
.build())
.build())
.embeddingModelUuid("string")
.projectId("string")
.region("string")
.addedToAgentAt("string")
.databaseId("string")
.isPublic(false)
.lastIndexingJobs(GenaiKnowledgeBaseLastIndexingJobArgs.builder()
.completedDatasources(0)
.createdAt("string")
.dataSourceUuids("string")
.finishedAt("string")
.knowledgeBaseUuid("string")
.phase("string")
.startedAt("string")
.tokens(0)
.totalDatasources(0)
.updatedAt("string")
.uuid("string")
.build())
.name("string")
.tags("string")
.vpcUuid("string")
.build());
genai_knowledge_base_resource = digitalocean.GenaiKnowledgeBase("genaiKnowledgeBaseResource",
datasources=[{
"created_at": "string",
"file_upload_data_sources": [{
"original_file_name": "string",
"size_in_bytes": "string",
"stored_object_key": "string",
}],
"last_indexing_jobs": [{
"completed_datasources": 0,
"created_at": "string",
"data_source_uuids": ["string"],
"finished_at": "string",
"knowledge_base_uuid": "string",
"phase": "string",
"started_at": "string",
"tokens": 0,
"total_datasources": 0,
"updated_at": "string",
"uuid": "string",
}],
"spaces_data_sources": [{
"bucket_name": "string",
"item_path": "string",
"region": "string",
}],
"updated_at": "string",
"uuid": "string",
"web_crawler_data_sources": [{
"base_url": "string",
"crawling_option": "string",
"embed_media": False,
}],
}],
embedding_model_uuid="string",
project_id="string",
region="string",
added_to_agent_at="string",
database_id="string",
is_public=False,
last_indexing_jobs=[{
"completed_datasources": 0,
"created_at": "string",
"data_source_uuids": ["string"],
"finished_at": "string",
"knowledge_base_uuid": "string",
"phase": "string",
"started_at": "string",
"tokens": 0,
"total_datasources": 0,
"updated_at": "string",
"uuid": "string",
}],
name="string",
tags=["string"],
vpc_uuid="string")
const genaiKnowledgeBaseResource = new digitalocean.GenaiKnowledgeBase("genaiKnowledgeBaseResource", {
datasources: [{
createdAt: "string",
fileUploadDataSources: [{
originalFileName: "string",
sizeInBytes: "string",
storedObjectKey: "string",
}],
lastIndexingJobs: [{
completedDatasources: 0,
createdAt: "string",
dataSourceUuids: ["string"],
finishedAt: "string",
knowledgeBaseUuid: "string",
phase: "string",
startedAt: "string",
tokens: 0,
totalDatasources: 0,
updatedAt: "string",
uuid: "string",
}],
spacesDataSources: [{
bucketName: "string",
itemPath: "string",
region: "string",
}],
updatedAt: "string",
uuid: "string",
webCrawlerDataSources: [{
baseUrl: "string",
crawlingOption: "string",
embedMedia: false,
}],
}],
embeddingModelUuid: "string",
projectId: "string",
region: "string",
addedToAgentAt: "string",
databaseId: "string",
isPublic: false,
lastIndexingJobs: [{
completedDatasources: 0,
createdAt: "string",
dataSourceUuids: ["string"],
finishedAt: "string",
knowledgeBaseUuid: "string",
phase: "string",
startedAt: "string",
tokens: 0,
totalDatasources: 0,
updatedAt: "string",
uuid: "string",
}],
name: "string",
tags: ["string"],
vpcUuid: "string",
});
type: digitalocean:GenaiKnowledgeBase
properties:
addedToAgentAt: string
databaseId: string
datasources:
- createdAt: string
fileUploadDataSources:
- originalFileName: string
sizeInBytes: string
storedObjectKey: string
lastIndexingJobs:
- completedDatasources: 0
createdAt: string
dataSourceUuids:
- string
finishedAt: string
knowledgeBaseUuid: string
phase: string
startedAt: string
tokens: 0
totalDatasources: 0
updatedAt: string
uuid: string
spacesDataSources:
- bucketName: string
itemPath: string
region: string
updatedAt: string
uuid: string
webCrawlerDataSources:
- baseUrl: string
crawlingOption: string
embedMedia: false
embeddingModelUuid: string
isPublic: false
lastIndexingJobs:
- completedDatasources: 0
createdAt: string
dataSourceUuids:
- string
finishedAt: string
knowledgeBaseUuid: string
phase: string
startedAt: string
tokens: 0
totalDatasources: 0
updatedAt: string
uuid: string
name: string
projectId: string
region: string
tags:
- string
vpcUuid: string
GenaiKnowledgeBase Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GenaiKnowledgeBase resource accepts the following input properties:
- Datasources
List<Pulumi.
Digital Ocean. Inputs. Genai Knowledge Base Data Source> - Data sources for the knowledge base
- Embedding
Model stringUuid - The unique identifier of the embedding model
- Project
Id string - The unique identifier of the project to which the knowledge base belongs.
- Region string
- Added
To stringAgent At - The time when the knowledge base was added to the agent.
- Database
Id string - The unique identifier of the DigitalOcean OpenSearch database this knowledge base will use
- Is
Public bool - Indicates whether the knowledge base is public or private.
- Last
Indexing List<Pulumi.Jobs Digital Ocean. Inputs. Genai Knowledge Base Last Indexing Job> - The last indexing job for the knowledge base.
- Name string
- The name of the knowledge base.
- List<string>
- Vpc
Uuid string - The unique identifier of the VPC to which the knowledge base belongs.
- Datasources
[]Genai
Knowledge Base Data Source Type Args - Data sources for the knowledge base
- Embedding
Model stringUuid - The unique identifier of the embedding model
- Project
Id string - The unique identifier of the project to which the knowledge base belongs.
- Region string
- Added
To stringAgent At - The time when the knowledge base was added to the agent.
- Database
Id string - The unique identifier of the DigitalOcean OpenSearch database this knowledge base will use
- Is
Public bool - Indicates whether the knowledge base is public or private.
- Last
Indexing []GenaiJobs Knowledge Base Last Indexing Job Args - The last indexing job for the knowledge base.
- Name string
- The name of the knowledge base.
- []string
- Vpc
Uuid string - The unique identifier of the VPC to which the knowledge base belongs.
- datasources
List<Genai
Knowledge Base Data Source> - Data sources for the knowledge base
- embedding
Model StringUuid - The unique identifier of the embedding model
- project
Id String - The unique identifier of the project to which the knowledge base belongs.
- region String
- added
To StringAgent At - The time when the knowledge base was added to the agent.
- database
Id String - The unique identifier of the DigitalOcean OpenSearch database this knowledge base will use
- is
Public Boolean - Indicates whether the knowledge base is public or private.
- last
Indexing List<GenaiJobs Knowledge Base Last Indexing Job> - The last indexing job for the knowledge base.
- name String
- The name of the knowledge base.
- List<String>
- vpc
Uuid String - The unique identifier of the VPC to which the knowledge base belongs.
- datasources
Genai
Knowledge Base Data Source[] - Data sources for the knowledge base
- embedding
Model stringUuid - The unique identifier of the embedding model
- project
Id string - The unique identifier of the project to which the knowledge base belongs.
- region string
- added
To stringAgent At - The time when the knowledge base was added to the agent.
- database
Id string - The unique identifier of the DigitalOcean OpenSearch database this knowledge base will use
- is
Public boolean - Indicates whether the knowledge base is public or private.
- last
Indexing GenaiJobs Knowledge Base Last Indexing Job[] - The last indexing job for the knowledge base.
- name string
- The name of the knowledge base.
- string[]
- vpc
Uuid string - The unique identifier of the VPC to which the knowledge base belongs.
- datasources
Sequence[Genai
Knowledge Base Data Source Args] - Data sources for the knowledge base
- embedding_
model_ struuid - The unique identifier of the embedding model
- project_
id str - The unique identifier of the project to which the knowledge base belongs.
- region str
- added_
to_ stragent_ at - The time when the knowledge base was added to the agent.
- database_
id str - The unique identifier of the DigitalOcean OpenSearch database this knowledge base will use
- is_
public bool - Indicates whether the knowledge base is public or private.
- last_
indexing_ Sequence[Genaijobs Knowledge Base Last Indexing Job Args] - The last indexing job for the knowledge base.
- name str
- The name of the knowledge base.
- Sequence[str]
- vpc_
uuid str - The unique identifier of the VPC to which the knowledge base belongs.
- datasources List<Property Map>
- Data sources for the knowledge base
- embedding
Model StringUuid - The unique identifier of the embedding model
- project
Id String - The unique identifier of the project to which the knowledge base belongs.
- region String
- added
To StringAgent At - The time when the knowledge base was added to the agent.
- database
Id String - The unique identifier of the DigitalOcean OpenSearch database this knowledge base will use
- is
Public Boolean - Indicates whether the knowledge base is public or private.
- last
Indexing List<Property Map>Jobs - The last indexing job for the knowledge base.
- name String
- The name of the knowledge base.
- List<String>
- vpc
Uuid String - The unique identifier of the VPC to which the knowledge base belongs.
Outputs
All input properties are implicitly available as output properties. Additionally, the GenaiKnowledgeBase resource produces the following output properties:
- created_
at str - The time when the knowledge base was created.
- id str
- The provider-assigned unique ID for this managed resource.
Look up Existing GenaiKnowledgeBase Resource
Get an existing GenaiKnowledgeBase resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GenaiKnowledgeBaseState, opts?: CustomResourceOptions): GenaiKnowledgeBase
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
added_to_agent_at: Optional[str] = None,
created_at: Optional[str] = None,
database_id: Optional[str] = None,
datasources: Optional[Sequence[GenaiKnowledgeBaseDataSourceArgs]] = None,
embedding_model_uuid: Optional[str] = None,
is_public: Optional[bool] = None,
last_indexing_jobs: Optional[Sequence[GenaiKnowledgeBaseLastIndexingJobArgs]] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
vpc_uuid: Optional[str] = None) -> GenaiKnowledgeBase
func GetGenaiKnowledgeBase(ctx *Context, name string, id IDInput, state *GenaiKnowledgeBaseState, opts ...ResourceOption) (*GenaiKnowledgeBase, error)
public static GenaiKnowledgeBase Get(string name, Input<string> id, GenaiKnowledgeBaseState? state, CustomResourceOptions? opts = null)
public static GenaiKnowledgeBase get(String name, Output<String> id, GenaiKnowledgeBaseState state, CustomResourceOptions options)
resources: _: type: digitalocean:GenaiKnowledgeBase get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Added
To stringAgent At - The time when the knowledge base was added to the agent.
- Created
At string - The time when the knowledge base was created.
- Database
Id string - The unique identifier of the DigitalOcean OpenSearch database this knowledge base will use
- Datasources
List<Pulumi.
Digital Ocean. Inputs. Genai Knowledge Base Data Source> - Data sources for the knowledge base
- Embedding
Model stringUuid - The unique identifier of the embedding model
- Is
Public bool - Indicates whether the knowledge base is public or private.
- Last
Indexing List<Pulumi.Jobs Digital Ocean. Inputs. Genai Knowledge Base Last Indexing Job> - The last indexing job for the knowledge base.
- Name string
- The name of the knowledge base.
- Project
Id string - The unique identifier of the project to which the knowledge base belongs.
- Region string
- List<string>
- Vpc
Uuid string - The unique identifier of the VPC to which the knowledge base belongs.
- Added
To stringAgent At - The time when the knowledge base was added to the agent.
- Created
At string - The time when the knowledge base was created.
- Database
Id string - The unique identifier of the DigitalOcean OpenSearch database this knowledge base will use
- Datasources
[]Genai
Knowledge Base Data Source Type Args - Data sources for the knowledge base
- Embedding
Model stringUuid - The unique identifier of the embedding model
- Is
Public bool - Indicates whether the knowledge base is public or private.
- Last
Indexing []GenaiJobs Knowledge Base Last Indexing Job Args - The last indexing job for the knowledge base.
- Name string
- The name of the knowledge base.
- Project
Id string - The unique identifier of the project to which the knowledge base belongs.
- Region string
- []string
- Vpc
Uuid string - The unique identifier of the VPC to which the knowledge base belongs.
- added
To StringAgent At - The time when the knowledge base was added to the agent.
- created
At String - The time when the knowledge base was created.
- database
Id String - The unique identifier of the DigitalOcean OpenSearch database this knowledge base will use
- datasources
List<Genai
Knowledge Base Data Source> - Data sources for the knowledge base
- embedding
Model StringUuid - The unique identifier of the embedding model
- is
Public Boolean - Indicates whether the knowledge base is public or private.
- last
Indexing List<GenaiJobs Knowledge Base Last Indexing Job> - The last indexing job for the knowledge base.
- name String
- The name of the knowledge base.
- project
Id String - The unique identifier of the project to which the knowledge base belongs.
- region String
- List<String>
- vpc
Uuid String - The unique identifier of the VPC to which the knowledge base belongs.
- added
To stringAgent At - The time when the knowledge base was added to the agent.
- created
At string - The time when the knowledge base was created.
- database
Id string - The unique identifier of the DigitalOcean OpenSearch database this knowledge base will use
- datasources
Genai
Knowledge Base Data Source[] - Data sources for the knowledge base
- embedding
Model stringUuid - The unique identifier of the embedding model
- is
Public boolean - Indicates whether the knowledge base is public or private.
- last
Indexing GenaiJobs Knowledge Base Last Indexing Job[] - The last indexing job for the knowledge base.
- name string
- The name of the knowledge base.
- project
Id string - The unique identifier of the project to which the knowledge base belongs.
- region string
- string[]
- vpc
Uuid string - The unique identifier of the VPC to which the knowledge base belongs.
- added_
to_ stragent_ at - The time when the knowledge base was added to the agent.
- created_
at str - The time when the knowledge base was created.
- database_
id str - The unique identifier of the DigitalOcean OpenSearch database this knowledge base will use
- datasources
Sequence[Genai
Knowledge Base Data Source Args] - Data sources for the knowledge base
- embedding_
model_ struuid - The unique identifier of the embedding model
- is_
public bool - Indicates whether the knowledge base is public or private.
- last_
indexing_ Sequence[Genaijobs Knowledge Base Last Indexing Job Args] - The last indexing job for the knowledge base.
- name str
- The name of the knowledge base.
- project_
id str - The unique identifier of the project to which the knowledge base belongs.
- region str
- Sequence[str]
- vpc_
uuid str - The unique identifier of the VPC to which the knowledge base belongs.
- added
To StringAgent At - The time when the knowledge base was added to the agent.
- created
At String - The time when the knowledge base was created.
- database
Id String - The unique identifier of the DigitalOcean OpenSearch database this knowledge base will use
- datasources List<Property Map>
- Data sources for the knowledge base
- embedding
Model StringUuid - The unique identifier of the embedding model
- is
Public Boolean - Indicates whether the knowledge base is public or private.
- last
Indexing List<Property Map>Jobs - The last indexing job for the knowledge base.
- name String
- The name of the knowledge base.
- project
Id String - The unique identifier of the project to which the knowledge base belongs.
- region String
- List<String>
- vpc
Uuid String - The unique identifier of the VPC to which the knowledge base belongs.
Supporting Types
GenaiKnowledgeBaseDataSource, GenaiKnowledgeBaseDataSourceArgs
- Created
At string - Created At timestamp for the Knowledge Base
- File
Upload List<Pulumi.Data Sources Digital Ocean. Inputs. Genai Knowledge Base Data Source File Upload Data Source> - File upload data source configuration
- Last
Indexing List<Pulumi.Jobs Digital Ocean. Inputs. Genai Knowledge Base Data Source Last Indexing Job> - Last indexing job for the data source
- Spaces
Data List<Pulumi.Sources Digital Ocean. Inputs. Genai Knowledge Base Data Source Spaces Data Source> - Spaces data source configuration
- Updated
At string - Timestamp when the Knowledge Base was updated
- Uuid string
- UUID of the Knowledge Base
- Web
Crawler List<Pulumi.Data Sources Digital Ocean. Inputs. Genai Knowledge Base Data Source Web Crawler Data Source> - Web crawler data source configuration
- Created
At string - Created At timestamp for the Knowledge Base
- File
Upload []GenaiData Sources Knowledge Base Data Source File Upload Data Source - File upload data source configuration
- Last
Indexing []GenaiJobs Knowledge Base Data Source Last Indexing Job - Last indexing job for the data source
- Spaces
Data []GenaiSources Knowledge Base Data Source Spaces Data Source - Spaces data source configuration
- Updated
At string - Timestamp when the Knowledge Base was updated
- Uuid string
- UUID of the Knowledge Base
- Web
Crawler []GenaiData Sources Knowledge Base Data Source Web Crawler Data Source - Web crawler data source configuration
- created
At String - Created At timestamp for the Knowledge Base
- file
Upload List<GenaiData Sources Knowledge Base Data Source File Upload Data Source> - File upload data source configuration
- last
Indexing List<GenaiJobs Knowledge Base Data Source Last Indexing Job> - Last indexing job for the data source
- spaces
Data List<GenaiSources Knowledge Base Data Source Spaces Data Source> - Spaces data source configuration
- updated
At String - Timestamp when the Knowledge Base was updated
- uuid String
- UUID of the Knowledge Base
- web
Crawler List<GenaiData Sources Knowledge Base Data Source Web Crawler Data Source> - Web crawler data source configuration
- created
At string - Created At timestamp for the Knowledge Base
- file
Upload GenaiData Sources Knowledge Base Data Source File Upload Data Source[] - File upload data source configuration
- last
Indexing GenaiJobs Knowledge Base Data Source Last Indexing Job[] - Last indexing job for the data source
- spaces
Data GenaiSources Knowledge Base Data Source Spaces Data Source[] - Spaces data source configuration
- updated
At string - Timestamp when the Knowledge Base was updated
- uuid string
- UUID of the Knowledge Base
- web
Crawler GenaiData Sources Knowledge Base Data Source Web Crawler Data Source[] - Web crawler data source configuration
- created_
at str - Created At timestamp for the Knowledge Base
- file_
upload_ Sequence[Genaidata_ sources Knowledge Base Data Source File Upload Data Source] - File upload data source configuration
- last_
indexing_ Sequence[Genaijobs Knowledge Base Data Source Last Indexing Job] - Last indexing job for the data source
- spaces_
data_ Sequence[Genaisources Knowledge Base Data Source Spaces Data Source] - Spaces data source configuration
- updated_
at str - Timestamp when the Knowledge Base was updated
- uuid str
- UUID of the Knowledge Base
- web_
crawler_ Sequence[Genaidata_ sources Knowledge Base Data Source Web Crawler Data Source] - Web crawler data source configuration
- created
At String - Created At timestamp for the Knowledge Base
- file
Upload List<Property Map>Data Sources - File upload data source configuration
- last
Indexing List<Property Map>Jobs - Last indexing job for the data source
- spaces
Data List<Property Map>Sources - Spaces data source configuration
- updated
At String - Timestamp when the Knowledge Base was updated
- uuid String
- UUID of the Knowledge Base
- web
Crawler List<Property Map>Data Sources - Web crawler data source configuration
GenaiKnowledgeBaseDataSourceFileUploadDataSource, GenaiKnowledgeBaseDataSourceFileUploadDataSourceArgs
- Original
File stringName - The original name of the uploaded file
- Size
In stringBytes - The size of the file in bytes
- Stored
Object stringKey - The stored object key for the file
- Original
File stringName - The original name of the uploaded file
- Size
In stringBytes - The size of the file in bytes
- Stored
Object stringKey - The stored object key for the file
- original
File StringName - The original name of the uploaded file
- size
In StringBytes - The size of the file in bytes
- stored
Object StringKey - The stored object key for the file
- original
File stringName - The original name of the uploaded file
- size
In stringBytes - The size of the file in bytes
- stored
Object stringKey - The stored object key for the file
- original_
file_ strname - The original name of the uploaded file
- size_
in_ strbytes - The size of the file in bytes
- stored_
object_ strkey - The stored object key for the file
- original
File StringName - The original name of the uploaded file
- size
In StringBytes - The size of the file in bytes
- stored
Object StringKey - The stored object key for the file
GenaiKnowledgeBaseDataSourceLastIndexingJob, GenaiKnowledgeBaseDataSourceLastIndexingJobArgs
- Completed
Datasources int - Number of completed datasources in the last indexing job
- Created
At string - Created At timestamp for the last indexing job
- Data
Source List<string>Uuids - Datasource UUIDs for the last indexing job
- Finished
At string - Timestamp when the last indexing job finished
- Knowledge
Base stringUuid - UUID of the Knowledge Base for the last indexing job
- Phase string
- Phase of the last indexing job
- Started
At string - Timestamp when the last indexing job started
- Tokens int
- Number of tokens processed in the last indexing job
- Total
Datasources int - Total number of datasources in the last indexing job
- Updated
At string - Timestamp when the last indexing job updated
- Uuid string
- UUID of the last indexing job
- Completed
Datasources int - Number of completed datasources in the last indexing job
- Created
At string - Created At timestamp for the last indexing job
- Data
Source []stringUuids - Datasource UUIDs for the last indexing job
- Finished
At string - Timestamp when the last indexing job finished
- Knowledge
Base stringUuid - UUID of the Knowledge Base for the last indexing job
- Phase string
- Phase of the last indexing job
- Started
At string - Timestamp when the last indexing job started
- Tokens int
- Number of tokens processed in the last indexing job
- Total
Datasources int - Total number of datasources in the last indexing job
- Updated
At string - Timestamp when the last indexing job updated
- Uuid string
- UUID of the last indexing job
- completed
Datasources Integer - Number of completed datasources in the last indexing job
- created
At String - Created At timestamp for the last indexing job
- data
Source List<String>Uuids - Datasource UUIDs for the last indexing job
- finished
At String - Timestamp when the last indexing job finished
- knowledge
Base StringUuid - UUID of the Knowledge Base for the last indexing job
- phase String
- Phase of the last indexing job
- started
At String - Timestamp when the last indexing job started
- tokens Integer
- Number of tokens processed in the last indexing job
- total
Datasources Integer - Total number of datasources in the last indexing job
- updated
At String - Timestamp when the last indexing job updated
- uuid String
- UUID of the last indexing job
- completed
Datasources number - Number of completed datasources in the last indexing job
- created
At string - Created At timestamp for the last indexing job
- data
Source string[]Uuids - Datasource UUIDs for the last indexing job
- finished
At string - Timestamp when the last indexing job finished
- knowledge
Base stringUuid - UUID of the Knowledge Base for the last indexing job
- phase string
- Phase of the last indexing job
- started
At string - Timestamp when the last indexing job started
- tokens number
- Number of tokens processed in the last indexing job
- total
Datasources number - Total number of datasources in the last indexing job
- updated
At string - Timestamp when the last indexing job updated
- uuid string
- UUID of the last indexing job
- completed_
datasources int - Number of completed datasources in the last indexing job
- created_
at str - Created At timestamp for the last indexing job
- data_
source_ Sequence[str]uuids - Datasource UUIDs for the last indexing job
- finished_
at str - Timestamp when the last indexing job finished
- knowledge_
base_ struuid - UUID of the Knowledge Base for the last indexing job
- phase str
- Phase of the last indexing job
- started_
at str - Timestamp when the last indexing job started
- tokens int
- Number of tokens processed in the last indexing job
- total_
datasources int - Total number of datasources in the last indexing job
- updated_
at str - Timestamp when the last indexing job updated
- uuid str
- UUID of the last indexing job
- completed
Datasources Number - Number of completed datasources in the last indexing job
- created
At String - Created At timestamp for the last indexing job
- data
Source List<String>Uuids - Datasource UUIDs for the last indexing job
- finished
At String - Timestamp when the last indexing job finished
- knowledge
Base StringUuid - UUID of the Knowledge Base for the last indexing job
- phase String
- Phase of the last indexing job
- started
At String - Timestamp when the last indexing job started
- tokens Number
- Number of tokens processed in the last indexing job
- total
Datasources Number - Total number of datasources in the last indexing job
- updated
At String - Timestamp when the last indexing job updated
- uuid String
- UUID of the last indexing job
GenaiKnowledgeBaseDataSourceSpacesDataSource, GenaiKnowledgeBaseDataSourceSpacesDataSourceArgs
- Bucket
Name string - The name of the Spaces bucket
- Item
Path string - The path to the item in the bucket
- Region string
- The region of the Spaces bucket
- Bucket
Name string - The name of the Spaces bucket
- Item
Path string - The path to the item in the bucket
- Region string
- The region of the Spaces bucket
- bucket
Name String - The name of the Spaces bucket
- item
Path String - The path to the item in the bucket
- region String
- The region of the Spaces bucket
- bucket
Name string - The name of the Spaces bucket
- item
Path string - The path to the item in the bucket
- region string
- The region of the Spaces bucket
- bucket_
name str - The name of the Spaces bucket
- item_
path str - The path to the item in the bucket
- region str
- The region of the Spaces bucket
- bucket
Name String - The name of the Spaces bucket
- item
Path String - The path to the item in the bucket
- region String
- The region of the Spaces bucket
GenaiKnowledgeBaseDataSourceWebCrawlerDataSource, GenaiKnowledgeBaseDataSourceWebCrawlerDataSourceArgs
- Base
Url string - The base URL to crawl
- Crawling
Option string - Options for specifying how URLs found on pages should be handled.
- UNKNOWN: Default unknown value
- SCOPED: Only include the base URL.
- PATH: Crawl the base URL and linked pages within the URL path.
- DOMAIN: Crawl the base URL and linked pages within the same domain.
- SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
- Embed
Media bool - Whether to embed media content
- Base
Url string - The base URL to crawl
- Crawling
Option string - Options for specifying how URLs found on pages should be handled.
- UNKNOWN: Default unknown value
- SCOPED: Only include the base URL.
- PATH: Crawl the base URL and linked pages within the URL path.
- DOMAIN: Crawl the base URL and linked pages within the same domain.
- SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
- Embed
Media bool - Whether to embed media content
- base
Url String - The base URL to crawl
- crawling
Option String - Options for specifying how URLs found on pages should be handled.
- UNKNOWN: Default unknown value
- SCOPED: Only include the base URL.
- PATH: Crawl the base URL and linked pages within the URL path.
- DOMAIN: Crawl the base URL and linked pages within the same domain.
- SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
- embed
Media Boolean - Whether to embed media content
- base
Url string - The base URL to crawl
- crawling
Option string - Options for specifying how URLs found on pages should be handled.
- UNKNOWN: Default unknown value
- SCOPED: Only include the base URL.
- PATH: Crawl the base URL and linked pages within the URL path.
- DOMAIN: Crawl the base URL and linked pages within the same domain.
- SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
- embed
Media boolean - Whether to embed media content
- base_
url str - The base URL to crawl
- crawling_
option str - Options for specifying how URLs found on pages should be handled.
- UNKNOWN: Default unknown value
- SCOPED: Only include the base URL.
- PATH: Crawl the base URL and linked pages within the URL path.
- DOMAIN: Crawl the base URL and linked pages within the same domain.
- SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
- embed_
media bool - Whether to embed media content
- base
Url String - The base URL to crawl
- crawling
Option String - Options for specifying how URLs found on pages should be handled.
- UNKNOWN: Default unknown value
- SCOPED: Only include the base URL.
- PATH: Crawl the base URL and linked pages within the URL path.
- DOMAIN: Crawl the base URL and linked pages within the same domain.
- SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
- embed
Media Boolean - Whether to embed media content
GenaiKnowledgeBaseLastIndexingJob, GenaiKnowledgeBaseLastIndexingJobArgs
- Completed
Datasources int - Number of completed datasources in the last indexing job
- Created
At string - Created At timestamp for the last indexing job
- Data
Source List<string>Uuids - Datasource UUIDs for the last indexing job
- Finished
At string - Timestamp when the last indexing job finished
- Knowledge
Base stringUuid - UUID of the Knowledge Base for the last indexing job
- Phase string
- Phase of the last indexing job
- Started
At string - Timestamp when the last indexing job started
- Tokens int
- Number of tokens processed in the last indexing job
- Total
Datasources int - Total number of datasources in the last indexing job
- Updated
At string - Timestamp when the last indexing job updated
- Uuid string
- UUID of the last indexing job
- Completed
Datasources int - Number of completed datasources in the last indexing job
- Created
At string - Created At timestamp for the last indexing job
- Data
Source []stringUuids - Datasource UUIDs for the last indexing job
- Finished
At string - Timestamp when the last indexing job finished
- Knowledge
Base stringUuid - UUID of the Knowledge Base for the last indexing job
- Phase string
- Phase of the last indexing job
- Started
At string - Timestamp when the last indexing job started
- Tokens int
- Number of tokens processed in the last indexing job
- Total
Datasources int - Total number of datasources in the last indexing job
- Updated
At string - Timestamp when the last indexing job updated
- Uuid string
- UUID of the last indexing job
- completed
Datasources Integer - Number of completed datasources in the last indexing job
- created
At String - Created At timestamp for the last indexing job
- data
Source List<String>Uuids - Datasource UUIDs for the last indexing job
- finished
At String - Timestamp when the last indexing job finished
- knowledge
Base StringUuid - UUID of the Knowledge Base for the last indexing job
- phase String
- Phase of the last indexing job
- started
At String - Timestamp when the last indexing job started
- tokens Integer
- Number of tokens processed in the last indexing job
- total
Datasources Integer - Total number of datasources in the last indexing job
- updated
At String - Timestamp when the last indexing job updated
- uuid String
- UUID of the last indexing job
- completed
Datasources number - Number of completed datasources in the last indexing job
- created
At string - Created At timestamp for the last indexing job
- data
Source string[]Uuids - Datasource UUIDs for the last indexing job
- finished
At string - Timestamp when the last indexing job finished
- knowledge
Base stringUuid - UUID of the Knowledge Base for the last indexing job
- phase string
- Phase of the last indexing job
- started
At string - Timestamp when the last indexing job started
- tokens number
- Number of tokens processed in the last indexing job
- total
Datasources number - Total number of datasources in the last indexing job
- updated
At string - Timestamp when the last indexing job updated
- uuid string
- UUID of the last indexing job
- completed_
datasources int - Number of completed datasources in the last indexing job
- created_
at str - Created At timestamp for the last indexing job
- data_
source_ Sequence[str]uuids - Datasource UUIDs for the last indexing job
- finished_
at str - Timestamp when the last indexing job finished
- knowledge_
base_ struuid - UUID of the Knowledge Base for the last indexing job
- phase str
- Phase of the last indexing job
- started_
at str - Timestamp when the last indexing job started
- tokens int
- Number of tokens processed in the last indexing job
- total_
datasources int - Total number of datasources in the last indexing job
- updated_
at str - Timestamp when the last indexing job updated
- uuid str
- UUID of the last indexing job
- completed
Datasources Number - Number of completed datasources in the last indexing job
- created
At String - Created At timestamp for the last indexing job
- data
Source List<String>Uuids - Datasource UUIDs for the last indexing job
- finished
At String - Timestamp when the last indexing job finished
- knowledge
Base StringUuid - UUID of the Knowledge Base for the last indexing job
- phase String
- Phase of the last indexing job
- started
At String - Timestamp when the last indexing job started
- tokens Number
- Number of tokens processed in the last indexing job
- total
Datasources Number - Total number of datasources in the last indexing job
- updated
At String - Timestamp when the last indexing job updated
- uuid String
- UUID of the last indexing job
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitalocean
Terraform Provider.