-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
feat(server): add doc meta for semantic search #13174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe changes update how the Changes
Sequence Diagram(s)sequenceDiagram
participant Provider as getTools (Provider)
participant Models as Models
participant Tool as buildDocSearchGetter
participant DB as Database
Provider->>Models: Retrieve Models instance
Provider->>Tool: Call buildDocSearchGetter(ac, context, docContext, models)
Tool->>DB: models.doc.findAuthors(workspaceId, docIds)
DB-->>Tool: Return document metadata
Tool-->>Provider: Return enriched doc chunks with metadata
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🧬 Code Graph Analysis (2)packages/backend/server/src/plugins/copilot/providers/provider.ts (2)
packages/backend/server/src/plugins/copilot/tools/doc-semantic-search.ts (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (49)
🔇 Additional comments (6)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## canary #13174 +/- ##
==========================================
- Coverage 57.47% 57.47% -0.01%
==========================================
Files 2708 2708
Lines 132329 132352 +23
Branches 20673 20675 +2
==========================================
+ Hits 76062 76075 +13
- Misses 54062 54610 +548
+ Partials 2205 1667 -538
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fix AI-339