mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat(server): update gql endpoint & workspace doc match test (#11104)
This commit is contained in:
@@ -109,11 +109,11 @@ type CopilotContext {
|
||||
files: [CopilotContextFile!]!
|
||||
id: ID!
|
||||
|
||||
"""match file context"""
|
||||
matchContext(content: String!, limit: SafeInt, threshold: Float): [ContextMatchedFileChunk!]!
|
||||
"""match file in context"""
|
||||
matchFiles(content: String!, limit: SafeInt, threshold: Float): [ContextMatchedFileChunk!]!
|
||||
|
||||
"""match workspace doc content"""
|
||||
matchWorkspaceContext(content: String!, limit: SafeInt): ContextMatchedDocChunk!
|
||||
"""match workspace docs"""
|
||||
matchWorkspaceDocs(content: String!, limit: SafeInt, threshold: Float): [ContextMatchedDocChunk!]!
|
||||
|
||||
"""list tags in context"""
|
||||
tags: [CopilotContextCategory!]!
|
||||
|
||||
Reference in New Issue
Block a user