1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. AiAssistantPersonality
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
filescom logo
Viewing docs for Files.com v0.1.1
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:

    SystemPrompt string
    System prompt injected into the in-app AI Assistant.
    ApplyToAllWorkspaces bool
    If true, this default-workspace personality can apply to users in all workspaces.
    Name string
    AI Assistant Personality name.
    UseByDefault bool
    Whether this personality is the default personality for the Workspace.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    SystemPrompt string
    System prompt injected into the in-app AI Assistant.
    ApplyToAllWorkspaces bool
    If true, this default-workspace personality can apply to users in all workspaces.
    Name string
    AI Assistant Personality name.
    UseByDefault bool
    Whether this personality is the default personality for the Workspace.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    system_prompt string
    System prompt injected into the in-app AI Assistant.
    apply_to_all_workspaces bool
    If true, this default-workspace personality can apply to users in all workspaces.
    name string
    AI Assistant Personality name.
    use_by_default bool
    Whether this personality is the default personality for the Workspace.
    workspace_id number
    Workspace ID. 0 means the default workspace.
    systemPrompt String
    System prompt injected into the in-app AI Assistant.
    applyToAllWorkspaces Boolean
    If true, this default-workspace personality can apply to users in all workspaces.
    name String
    AI Assistant Personality name.
    useByDefault Boolean
    Whether this personality is the default personality for the Workspace.
    workspaceId Integer
    Workspace ID. 0 means the default workspace.
    systemPrompt string
    System prompt injected into the in-app AI Assistant.
    applyToAllWorkspaces boolean
    If true, this default-workspace personality can apply to users in all workspaces.
    name string
    AI Assistant Personality name.
    useByDefault boolean
    Whether this personality is the default personality for the Workspace.
    workspaceId number
    Workspace ID. 0 means the default workspace.
    system_prompt str
    System prompt injected into the in-app AI Assistant.
    apply_to_all_workspaces bool
    If true, this default-workspace personality can apply to users in all workspaces.
    name str
    AI Assistant Personality name.
    use_by_default bool
    Whether this personality is the default personality for the Workspace.
    workspace_id int
    Workspace ID. 0 means the default workspace.
    systemPrompt String
    System prompt injected into the in-app AI Assistant.
    applyToAllWorkspaces Boolean
    If true, this default-workspace personality can apply to users in all workspaces.
    name String
    AI Assistant Personality name.
    useByDefault Boolean
    Whether this personality is the default personality for the Workspace.
    workspaceId Number
    Workspace ID. 0 means the default workspace.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AiAssistantPersonality resource produces the following output properties:

    CreatedAt string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Last update time.
    CreatedAt string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Last update time.
    created_at string
    Creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    Last update time.
    createdAt String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Last update time.
    createdAt string
    Creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt 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.
    createdAt String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    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) -> AiAssistantPersonality
    func 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.
    The following state arguments are supported:
    ApplyToAllWorkspaces bool
    If true, this default-workspace personality can apply to users in all workspaces.
    CreatedAt string
    Creation time.
    Name string
    AI Assistant Personality name.
    SystemPrompt string
    System prompt injected into the in-app AI Assistant.
    UpdatedAt string
    Last update time.
    UseByDefault bool
    Whether this personality is the default personality for the Workspace.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    ApplyToAllWorkspaces bool
    If true, this default-workspace personality can apply to users in all workspaces.
    CreatedAt string
    Creation time.
    Name string
    AI Assistant Personality name.
    SystemPrompt string
    System prompt injected into the in-app AI Assistant.
    UpdatedAt string
    Last update time.
    UseByDefault bool
    Whether this personality is the default personality for the Workspace.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    apply_to_all_workspaces bool
    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_default bool
    Whether this personality is the default personality for the Workspace.
    workspace_id number
    Workspace ID. 0 means the default workspace.
    applyToAllWorkspaces Boolean
    If true, this default-workspace personality can apply to users in all workspaces.
    createdAt String
    Creation time.
    name String
    AI Assistant Personality name.
    systemPrompt String
    System prompt injected into the in-app AI Assistant.
    updatedAt String
    Last update time.
    useByDefault Boolean
    Whether this personality is the default personality for the Workspace.
    workspaceId Integer
    Workspace ID. 0 means the default workspace.
    applyToAllWorkspaces boolean
    If true, this default-workspace personality can apply to users in all workspaces.
    createdAt string
    Creation time.
    name string
    AI Assistant Personality name.
    systemPrompt string
    System prompt injected into the in-app AI Assistant.
    updatedAt string
    Last update time.
    useByDefault boolean
    Whether this personality is the default personality for the Workspace.
    workspaceId number
    Workspace ID. 0 means the default workspace.
    apply_to_all_workspaces bool
    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_default bool
    Whether this personality is the default personality for the Workspace.
    workspace_id int
    Workspace ID. 0 means the default workspace.
    applyToAllWorkspaces Boolean
    If true, this default-workspace personality can apply to users in all workspaces.
    createdAt String
    Creation time.
    name String
    AI Assistant Personality name.
    systemPrompt String
    System prompt injected into the in-app AI Assistant.
    updatedAt String
    Last update time.
    useByDefault Boolean
    Whether this personality is the default personality for the Workspace.
    workspaceId Number
    Workspace ID. 0 means 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 filescom Terraform Provider.
    filescom logo
    Viewing docs for Files.com v0.1.1
    published on Thursday, Aug 20, 2026 by jschady

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial