mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
Implements a huggingface dataset loader for RAG evals - see [x-pack/platform/packages/shared/kbn-ai-tools-cli/src/hf_dataset_loader/README.md](https://github.com/dgieselaar/kibana/blob/hf-dataset-loader/x-pack/platform/packages/shared/kbn-ai-tools-cli/src/hf_dataset_loader/README.md). Additionally, a `@kbn/cache-cli` tool was added that allows tooling authors to cache to disk (possibly remote storage later). Used o3 for finding datasets on HuggingFace and doing an initial pass on a line-by-line dataset processor ([see conversation](https://chatgpt.com/share/6853e49a-e870-8000-9c65-f7a5a3a72af0)) Libraries added: - `cache-manager`, `cache-manager-fs-hash`, `keyv`, `@types/cache-manager-fs-hash`: caching libraries and plugins. could not find any existing caching libraries in the repo. - `@huggingface/hub`: api client for HF. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
22 lines
351 B
JSON
22 lines
351 B
JSON
{
|
|
"extends": "../../../../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"outDir": "target/types",
|
|
"types": [
|
|
"jest",
|
|
"node"
|
|
]
|
|
},
|
|
"include": [
|
|
"**/*.ts",
|
|
],
|
|
"exclude": [
|
|
"target/**/*"
|
|
],
|
|
"kbn_references": [
|
|
"@kbn/core",
|
|
"@kbn/cache-cli",
|
|
"@kbn/dev-cli-runner",
|
|
"@kbn/kibana-api-cli"
|
|
]
|
|
}
|