Skip to content
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

feat(core): support ai network search #9357

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

akumatus
Copy link
Member

@akumatus akumatus commented Dec 27, 2024

Search results are streamed and appear word for word:

🎥 Video uploaded on Graphite:

Click the little globe icon to manually turn on/off Internet search:

🎥 Video uploaded on Graphite:

When there is an image, it will automatically switch to the openai model:

🎥 Video uploaded on Graphite:

Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added mod:i18n Related to i18n app:server test Related to test cases app:core labels Dec 27, 2024
@akumatus akumatus force-pushed the feat/ai-network-search branch from 8b6330c to f3279d2 Compare December 27, 2024 10:42
@akumatus akumatus marked this pull request as ready for review December 27, 2024 10:42
@akumatus akumatus requested a review from a team as a code owner December 27, 2024 10:42
@graphite-app graphite-app bot requested review from JimmFly, Brooooooklyn, darkskygit, forehalo, CatsJuice, EYHN and pengx17 and removed request for forehalo and darkskygit December 27, 2024 10:42
@akumatus akumatus force-pushed the feat/ai-network-search branch from f3279d2 to 2cf72f7 Compare January 6, 2025 07:17
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

Attention: Patch coverage is 32.70142% with 284 lines in your changes missing coverage. Please review.

Project coverage is 52.62%. Comparing base (09937a8) to head (c072c58).
Report is 8 commits behind head on canary.

Files with missing lines Patch % Lines
...server/src/plugins/copilot/providers/perplexity.ts 31.53% 178 Missing ⚠️
...ocksuite/presets/ai/chat-panel/chat-panel-input.ts 0.00% 25 Missing ⚠️
...ges/backend/server/src/plugins/copilot/resolver.ts 45.45% 24 Missing ⚠️
packages/backend/server/tests/utils/copilot.ts 8.00% 23 Missing ⚠️
...ages/backend/server/src/plugins/copilot/session.ts 39.13% 14 Missing ⚠️
...t-block/widgets/ai-panel/components/state/input.ts 16.66% 10 Missing ⚠️
...e/src/modules/ai-button/services/network-search.ts 11.11% 8 Missing ⚠️
...rontend/core/src/blocksuite/presets/ai/ai-panel.ts 0.00% 1 Missing ⚠️
...core/src/blocksuite/presets/ai/chat-panel/index.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           canary    #9357      +/-   ##
==========================================
- Coverage   52.75%   52.62%   -0.13%     
==========================================
  Files        2153     2164      +11     
  Lines       97188    97777     +589     
  Branches    16192    16239      +47     
==========================================
+ Hits        51271    51458     +187     
- Misses      44550    44921     +371     
- Partials     1367     1398      +31     
Flag Coverage Δ
server-test 77.68% <35.92%> (-0.40%) ⬇️
unittest 32.25% <8.16%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@akumatus akumatus requested review from darkskygit and removed request for JimmFly and CatsJuice January 6, 2025 09:14
@akumatus akumatus force-pushed the feat/ai-network-search branch from 2cf72f7 to 99d148f Compare January 6, 2025 09:20
@akumatus akumatus force-pushed the feat/ai-network-search branch from 99d148f to c072c58 Compare January 6, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:core app:server mod:i18n Related to i18n test Related to test cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant