mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
# Backport This will backport the following commits from `main` to `8.19`: - [[Inference] Prompts API (#222229)](https://github.com/elastic/kibana/pull/222229) <!--- Backport version: 10.0.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dario Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2025-06-10T07:13:40Z","message":"[Inference] Prompts API (#222229)\n\nAdd a `prompt` API to the Inference plugin. This API allow consumers to\ncreate model-specific prompts without having to implement the logic of\nfetching the connector and selecting the right prompt.\n\nSome other changes in this PR:\n- the `InferenceClient` was moved to `@kbn/inference-common` to allow\nfor client-side usage\n- Tracing for prompts was added\n- A bug with the Vertex adapter and tool call errors was fixed\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"afb35a5f5e47c49a20c355b87239c731bf891931","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Obs AI Assistant","ci:project-deploy-observability","backport:version","v9.1.0","v8.19.0"],"title":"[Inference] Prompts API","number":222229,"url":"https://github.com/elastic/kibana/pull/222229","mergeCommit":{"message":"[Inference] Prompts API (#222229)\n\nAdd a `prompt` API to the Inference plugin. This API allow consumers to\ncreate model-specific prompts without having to implement the logic of\nfetching the connector and selecting the right prompt.\n\nSome other changes in this PR:\n- the `InferenceClient` was moved to `@kbn/inference-common` to allow\nfor client-side usage\n- Tracing for prompts was added\n- A bug with the Vertex adapter and tool call errors was fixed\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"afb35a5f5e47c49a20c355b87239c731bf891931"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/222229","number":222229,"mergeCommit":{"message":"[Inference] Prompts API (#222229)\n\nAdd a `prompt` API to the Inference plugin. This API allow consumers to\ncreate model-specific prompts without having to implement the logic of\nfetching the connector and selecting the right prompt.\n\nSome other changes in this PR:\n- the `InferenceClient` was moved to `@kbn/inference-common` to allow\nfor client-side usage\n- Tracing for prompts was added\n- A bug with the Vertex adapter and tool call errors was fixed\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"afb35a5f5e47c49a20c355b87239c731bf891931"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
9 lines
426 B
TypeScript
9 lines
426 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
export { createInferenceClient } from './src/create_inference_client';
|
|
export type { InferenceCliClient } from './src/client';
|
|
export { runRecipe } from './src/run_recipe';
|