We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c44dc8 + 9e5baca commit 7248095Copy full SHA for 7248095
redisinsight/api/src/modules/ai/query/utils/context.util.ts
@@ -77,7 +77,7 @@ export const getAttributeTopValues = async (client: RedisClient, index: string,
77
78
return {
79
distinct_count: parseInt(distinct, 10),
80
- top_values: top?.map(([, value, , count]) => ({ value, count })),
+ top_values: top?.map(([, value]) => ({ value })),
81
};
82
default:
83
return {};
0 commit comments