- Please note that at least one of the documents accessible by
- your OnyxBot is marked as private and may contain sensitive
- information. These documents will be accessible to all users
- of this OnyxBot. Ensure this aligns with your intended
- document sharing policy.
+ Please note that if the private (ephemeral) response is *not
+ selected*, only public documents within the selected document
+ sets will be accessible for user queries. If the private
+ (ephemeral) response *is selected*, user quries can also
+ leverage documents that the user has already been granted
+ access to. Note that users will be able to share the response
+ with others in the channel, so please ensure that this is
+ aligned with your company sharing policies.
diff --git a/web/src/app/admin/bots/[bot-id]/lib.ts b/web/src/app/admin/bots/[bot-id]/lib.ts
index 5c72c9f20..d9058d188 100644
--- a/web/src/app/admin/bots/[bot-id]/lib.ts
+++ b/web/src/app/admin/bots/[bot-id]/lib.ts
@@ -14,6 +14,7 @@ interface SlackChannelConfigCreationRequest {
answer_validity_check_enabled: boolean;
questionmark_prefilter_enabled: boolean;
respond_tag_only: boolean;
+ is_ephemeral: boolean;
respond_to_bots: boolean;
show_continue_in_web_ui: boolean;
respond_member_group_list: string[];
@@ -45,6 +46,7 @@ const buildRequestBodyFromCreationRequest = (
channel_name: creationRequest.channel_name,
respond_tag_only: creationRequest.respond_tag_only,
respond_to_bots: creationRequest.respond_to_bots,
+ is_ephemeral: creationRequest.is_ephemeral,
show_continue_in_web_ui: creationRequest.show_continue_in_web_ui,
enable_auto_filters: creationRequest.enable_auto_filters,
respond_member_group_list: creationRequest.respond_member_group_list,
diff --git a/web/src/lib/types.ts b/web/src/lib/types.ts
index 70476663c..c667bc156 100644
--- a/web/src/lib/types.ts
+++ b/web/src/lib/types.ts
@@ -273,6 +273,7 @@ export interface ChannelConfig {
channel_name: string;
respond_tag_only?: boolean;
respond_to_bots?: boolean;
+ is_ephemeral?: boolean;
show_continue_in_web_ui?: boolean;
respond_member_group_list?: string[];
answer_filters?: AnswerFilterOption[];