Skip to content

Commit 0d6ad7f

Browse files
authored
[Streams] Drop unmapped fields for feature identification (elastic#239105)
Drops unmapped fields for feature identification. Split out from elastic#238932 to derisk missing the final BC: > dropUnmapped is now true - this means the LLM will no longer consider unmapped fields for the conditions that it generates
1 parent 7f82da8 commit 0d6ad7f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

x-pack/platform/packages/shared/kbn-streams-ai/src/features/identify_features.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export async function identifyFeatures({
103103
condition: system.filter as Condition,
104104
};
105105
}),
106+
dropUnmapped,
106107
});
107108

108109
return {

x-pack/platform/plugins/shared/streams/server/lib/streams/feature/run_feature_identification.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ export function runFeatureIdentification({
3535
logger,
3636
stream,
3737
features,
38+
dropUnmapped: true,
3839
});
3940
}

0 commit comments

Comments
 (0)