forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Auto Import] Ask LLM to map to non-reserved ECS fields (elastic#195168)
## Release Note Automatic Import does not ask the LLM to map the fields to the reserved ECS fields anymore. ## Summary Previously we have given the LLM the whole list of ECS fields, but later failed the validation if the LLM's suggested a mapping into one of the reserved fields (like `event.created`). With these changes, we hide the reserved fields from the LLM when creating the prompt, so the likelihood of this happening is reduced. We test with the Teleport integration (see GitHub). --------- Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information
1 parent
296a49c
commit c4599e0
Showing
5 changed files
with
75 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* 2.0. | ||
*/ | ||
|
||
interface EcsFields { | ||
export interface EcsFields { | ||
[key: string]: string; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters