published on Thursday, Aug 20, 2026 by jschady
published on Thursday, Aug 20, 2026 by jschady
An AI Assistant Personality defines a system prompt used to customize the in-app AI Assistant.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as filescom from "pulumi-filescom";
const exampleAiAssistantPersonality = new filescom.AiAssistantPersonality("example_ai_assistant_personality", {
applyToAllWorkspaces: false,
name: "Concise Assistant",
systemPrompt: "Respond as a concise operations assistant.",
useByDefault: false,
workspaceId: 0,
});
import pulumi
import pulumi_filescom as filescom
example_ai_assistant_personality = filescom.AiAssistantPersonality("example_ai_assistant_personality",
apply_to_all_workspaces=False,
name="Concise Assistant",
system_prompt="Respond as a concise operations assistant.",
use_by_default=False,
workspace_id=0)
package main
import (
"github.com/jschady/pulumi-filescom/sdk/go/filescom"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := filescom.NewAiAssistantPersonality(ctx, "example_ai_assistant_personality", &filescom.AiAssistantPersonalityArgs{
ApplyToAllWorkspaces: pulumi.Bool(false),
Name: pulumi.String("Concise Assistant"),
SystemPrompt: pulumi.String("Respond as a concise operations assistant."),
UseByDefault: pulumi.Bool(false),
WorkspaceId: pulumi.Int(0),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Filescom = Jschady.Filescom;
return await Deployment.RunAsync(() =>
{
var exampleAiAssistantPersonality = new Filescom.AiAssistantPersonality("example_ai_assistant_personality", new()
{
ApplyToAllWorkspaces = false,
Name = "Concise Assistant",
SystemPrompt = "Respond as a concise operations assistant.",
UseByDefault = false,
WorkspaceId = 0,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.filescom.AiAssistantPersonality;
import com.pulumi.filescom.AiAssistantPersonalityArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleAiAssistantPersonality = new AiAssistantPersonality("exampleAiAssistantPersonality", AiAssistantPersonalityArgs.builder()
.applyToAllWorkspaces(false)
.name("Concise Assistant")
.systemPrompt("Respond as a concise operations assistant.")
.useByDefault(false)
.workspaceId(0)
.build());
}
}
resources:
exampleAiAssistantPersonality:
type: filescom:AiAssistantPersonality
name: example_ai_assistant_personality
properties:
applyToAllWorkspaces: false
name: Concise Assistant
systemPrompt: Respond as a concise operations assistant.
useByDefault: false
workspaceId: 0
pulumi {
required_providers {
filescom = {
source = "pulumi/filescom"
}
}
}
resource "filescom_aiassistantpersonality" "example_ai_assistant_personality" {
apply_to_all_workspaces = false
name = "Concise Assistant"
system_prompt = "Respond as a concise operations assistant."
use_by_default = false
workspace_id = 0
}
Create AiAssistantPersonality Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AiAssistantPersonality(name: string, args: AiAssistantPersonalityArgs, opts?: CustomResourceOptions);@overload
def AiAssistantPersonality(resource_name: str,
args: AiAssistantPersonalityArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AiAssistantPersonality(resource_name: str,
opts: Optional[ResourceOptions] = None,
system_prompt: Optional[str] = None,
apply_to_all_workspaces: Optional[bool] = None,
name: Optional[str] = None,
use_by_default: Optional[bool] = None,
workspace_id: Optional[int] = None)func NewAiAssistantPersonality(ctx *Context, name string, args AiAssistantPersonalityArgs, opts ...ResourceOption) (*AiAssistantPersonality, error)public AiAssistantPersonality(string name, AiAssistantPersonalityArgs args, CustomResourceOptions? opts = null)
public AiAssistantPersonality(String name, AiAssistantPersonalityArgs args)
public AiAssistantPersonality(String name, AiAssistantPersonalityArgs args, CustomResourceOptions options)
type: filescom:AiAssistantPersonality
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "filescom_ai_assistant_personality" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AiAssistantPersonalityArgs
- 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 AiAssistantPersonalityArgs
- 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 AiAssistantPersonalityArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiAssistantPersonalityArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AiAssistantPersonalityArgs
- 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 aiAssistantPersonalityResource = new Filescom.AiAssistantPersonality("aiAssistantPersonalityResource", new()
{
SystemPrompt = "string",
ApplyToAllWorkspaces = false,
Name = "string",
UseByDefault = false,
WorkspaceId = 0,
});
example, err := filescom.NewAiAssistantPersonality(ctx, "aiAssistantPersonalityResource", &filescom.AiAssistantPersonalityArgs{
SystemPrompt: pulumi.String("string"),
ApplyToAllWorkspaces: pulumi.Bool(false),
Name: pulumi.String("string"),
UseByDefault: pulumi.Bool(false),
WorkspaceId: pulumi.Int(0),
})
resource "filescom_ai_assistant_personality" "aiAssistantPersonalityResource" {
lifecycle {
create_before_destroy = true
}
system_prompt = "string"
apply_to_all_workspaces = false
name = "string"
use_by_default = false
workspace_id = 0
}
var aiAssistantPersonalityResource = new AiAssistantPersonality("aiAssistantPersonalityResource", AiAssistantPersonalityArgs.builder()
.systemPrompt("string")
.applyToAllWorkspaces(false)
.name("string")
.useByDefault(false)
.workspaceId(0)
.build());
ai_assistant_personality_resource = filescom.AiAssistantPersonality("aiAssistantPersonalityResource",
system_prompt="string",
apply_to_all_workspaces=False,
name="string",
use_by_default=False,
workspace_id=0)
const aiAssistantPersonalityResource = new filescom.AiAssistantPersonality("aiAssistantPersonalityResource", {
systemPrompt: "string",
applyToAllWorkspaces: false,
name: "string",
useByDefault: false,
workspaceId: 0,
});
type: filescom:AiAssistantPersonality
properties:
applyToAllWorkspaces: false
name: string
systemPrompt: string
useByDefault: false
workspaceId: 0
AiAssistantPersonality 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 AiAssistantPersonality resource accepts the following input properties:
- System
Prompt string - System prompt injected into the in-app AI Assistant.
- Apply
To boolAll Workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- Name string
- AI Assistant Personality name.
- Use
By boolDefault - Whether this personality is the default personality for the Workspace.
- Workspace
Id int - Workspace ID.
0means the default workspace.
- System
Prompt string - System prompt injected into the in-app AI Assistant.
- Apply
To boolAll Workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- Name string
- AI Assistant Personality name.
- Use
By boolDefault - Whether this personality is the default personality for the Workspace.
- Workspace
Id int - Workspace ID.
0means the default workspace.
- system_
prompt string - System prompt injected into the in-app AI Assistant.
- apply_
to_ boolall_ workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- name string
- AI Assistant Personality name.
- use_
by_ booldefault - Whether this personality is the default personality for the Workspace.
- workspace_
id number - Workspace ID.
0means the default workspace.
- system
Prompt String - System prompt injected into the in-app AI Assistant.
- apply
To BooleanAll Workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- name String
- AI Assistant Personality name.
- use
By BooleanDefault - Whether this personality is the default personality for the Workspace.
- workspace
Id Integer - Workspace ID.
0means the default workspace.
- system
Prompt string - System prompt injected into the in-app AI Assistant.
- apply
To booleanAll Workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- name string
- AI Assistant Personality name.
- use
By booleanDefault - Whether this personality is the default personality for the Workspace.
- workspace
Id number - Workspace ID.
0means the default workspace.
- system_
prompt str - System prompt injected into the in-app AI Assistant.
- apply_
to_ boolall_ workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- name str
- AI Assistant Personality name.
- use_
by_ booldefault - Whether this personality is the default personality for the Workspace.
- workspace_
id int - Workspace ID.
0means the default workspace.
- system
Prompt String - System prompt injected into the in-app AI Assistant.
- apply
To BooleanAll Workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- name String
- AI Assistant Personality name.
- use
By BooleanDefault - Whether this personality is the default personality for the Workspace.
- workspace
Id Number - Workspace ID.
0means the default workspace.
Outputs
All input properties are implicitly available as output properties. Additionally, the AiAssistantPersonality resource produces the following output properties:
- created_
at string - Creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
at string - Last update time.
- created_
at str - Creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - Last update time.
Look up Existing AiAssistantPersonality Resource
Get an existing AiAssistantPersonality 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?: AiAssistantPersonalityState, opts?: CustomResourceOptions): AiAssistantPersonality@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apply_to_all_workspaces: Optional[bool] = None,
created_at: Optional[str] = None,
name: Optional[str] = None,
system_prompt: Optional[str] = None,
updated_at: Optional[str] = None,
use_by_default: Optional[bool] = None,
workspace_id: Optional[int] = None) -> AiAssistantPersonalityfunc GetAiAssistantPersonality(ctx *Context, name string, id IDInput, state *AiAssistantPersonalityState, opts ...ResourceOption) (*AiAssistantPersonality, error)public static AiAssistantPersonality Get(string name, Input<string> id, AiAssistantPersonalityState? state, CustomResourceOptions? opts = null)public static AiAssistantPersonality get(String name, Output<String> id, AiAssistantPersonalityState state, CustomResourceOptions options)resources: _: type: filescom:AiAssistantPersonality get: id: ${id}import {
to = filescom_ai_assistant_personality.example
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.
- Apply
To boolAll Workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- Created
At string - Creation time.
- Name string
- AI Assistant Personality name.
- System
Prompt string - System prompt injected into the in-app AI Assistant.
- Updated
At string - Last update time.
- Use
By boolDefault - Whether this personality is the default personality for the Workspace.
- Workspace
Id int - Workspace ID.
0means the default workspace.
- Apply
To boolAll Workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- Created
At string - Creation time.
- Name string
- AI Assistant Personality name.
- System
Prompt string - System prompt injected into the in-app AI Assistant.
- Updated
At string - Last update time.
- Use
By boolDefault - Whether this personality is the default personality for the Workspace.
- Workspace
Id int - Workspace ID.
0means the default workspace.
- apply_
to_ boolall_ workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- created_
at string - Creation time.
- name string
- AI Assistant Personality name.
- system_
prompt string - System prompt injected into the in-app AI Assistant.
- updated_
at string - Last update time.
- use_
by_ booldefault - Whether this personality is the default personality for the Workspace.
- workspace_
id number - Workspace ID.
0means the default workspace.
- apply
To BooleanAll Workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- created
At String - Creation time.
- name String
- AI Assistant Personality name.
- system
Prompt String - System prompt injected into the in-app AI Assistant.
- updated
At String - Last update time.
- use
By BooleanDefault - Whether this personality is the default personality for the Workspace.
- workspace
Id Integer - Workspace ID.
0means the default workspace.
- apply
To booleanAll Workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- created
At string - Creation time.
- name string
- AI Assistant Personality name.
- system
Prompt string - System prompt injected into the in-app AI Assistant.
- updated
At string - Last update time.
- use
By booleanDefault - Whether this personality is the default personality for the Workspace.
- workspace
Id number - Workspace ID.
0means the default workspace.
- apply_
to_ boolall_ workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- created_
at str - Creation time.
- name str
- AI Assistant Personality name.
- system_
prompt str - System prompt injected into the in-app AI Assistant.
- updated_
at str - Last update time.
- use_
by_ booldefault - Whether this personality is the default personality for the Workspace.
- workspace_
id int - Workspace ID.
0means the default workspace.
- apply
To BooleanAll Workspaces - If true, this default-workspace personality can apply to users in all workspaces.
- created
At String - Creation time.
- name String
- AI Assistant Personality name.
- system
Prompt String - System prompt injected into the in-app AI Assistant.
- updated
At String - Last update time.
- use
By BooleanDefault - Whether this personality is the default personality for the Workspace.
- workspace
Id Number - Workspace ID.
0means the default workspace.
Import
The pulumi import command can be used, for example:
Ai Assistant Personalities can be imported by specifying the id.
$ pulumi import filescom:index/aiAssistantPersonality:AiAssistantPersonality example_ai_assistant_personality 1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- filescom jschady/pulumi-filescom
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
filescomTerraform Provider.
published on Thursday, Aug 20, 2026 by jschady