|
|
@@ -60,8 +60,6 @@ export class FFBVectorService implements OnModuleInit {
|
|
|
|
|
|
// Step 2: Use repository aggregation for vector search
|
|
|
const results = await this.repo.vectorSearch(vector, k, 50); // numCandidates = 50
|
|
|
- console.log(results)
|
|
|
- // results.forEach(e => console.log(e.score))
|
|
|
// Step 3: Return results directly (they now include the full document + score)
|
|
|
return results.map(r => ({
|
|
|
...r, // all FFBProduction fields
|