• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

inclusion-numerique / coop-mediation-numerique / fd0f793a-a8c6-4a69-81c3-56827ded376f

09 Apr 2026 01:22PM UTC coverage: 7.465% (-3.1%) from 10.614%
fd0f793a-a8c6-4a69-81c3-56827ded376f

push

circleci

web-flow
Merge pull request #472 from inclusion-numerique/feat/api-beneficiaires

feat(api): add beneficiaires data to activites API endpoint

500 of 10550 branches covered (4.74%)

Branch coverage included in aggregate %.

0 of 11 new or added lines in 1 file covered. (0.0%)

1379 existing lines in 153 files now uncovered.

1500 of 16241 relevant lines covered (9.24%)

36.95 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/apps/web/src/assistant/rag/getRagChunksForQuery.ts
1
import { createEmbedding } from '@app/web/assistant/createEmbedding'
2
import { executeRagSearch } from '@app/web/assistant/rag/executeRagSearch'
3

4
export type GetRagChunksForQueryOptions = {
5
  limit?: number
6
  sources: string[]
7
}
8

UNCOV
9
export const getRagChunksForQuery = async (
×
10
  query: string,
11
  { limit = 5, sources }: GetRagChunksForQueryOptions,
×
12
) => {
13
  const embeddedQuery = await createEmbedding(query)
×
14

15
  const chunkResults = await executeRagSearch({
×
16
    embedding: embeddedQuery.embedding,
17
    model: embeddedQuery.model,
18
    limit,
19
    sources,
20
  })
21

22
  return {
×
23
    chunkResults,
24
  }
25
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc