feat(server): add doc embedding switch for workspace (#11760)

fix AI-33
This commit is contained in:
darkskygit
2025-04-17 07:13:22 +00:00
parent ebf1d5476d
commit 38e8806787
11 changed files with 71 additions and 11 deletions

View File

@@ -1493,6 +1493,9 @@ input UpdateWorkspaceInput {
"""Enable AI"""
enableAi: Boolean
"""Enable doc embedding"""
enableDocEmbedding: Boolean
"""Enable url previous when sharing"""
enableUrlPreview: Boolean
id: ID!
@@ -1702,6 +1705,9 @@ type WorkspaceType {
"""Enable AI"""
enableAi: Boolean!
"""Enable doc embedding"""
enableDocEmbedding: Boolean!
"""Enable url previous when sharing"""
enableUrlPreview: Boolean!
histories(before: DateTime, guid: String!, take: Int): [DocHistoryType!]!