kibana/packages/kbn-gen-ai-functional-testing/scripts
Pierre Gayvallet 14ad13b6a3
Add base FTR test coverage for inference APIs (#198000)
## Summary

Part of https://github.com/elastic/kibana-team/issues/1271

This PR introduces the first set of end to end integration test for the
inference APIs, and the tooling required to do so (see issue for more
context)

- Add a dedicated pipeline for ai-infra GenAI tests. pipeline is
triggered when:
  - genAI stack connectors, or ai-infra owned code is changed
  - when the `ci:all-gen-ai-suites` label is present on a PR
  - on merge
- adapt the `ftr_configs.sh` script to load GenAI connector
configuration from vault when a specific var env is set
- create the `@kbn/gen-ai-functional-testing` package, which for now
only contains utilities to load the GenAI connector configuration in FTR
tests
- Add FTR integration tests for the `chatComplete` API of the
`inference` plugin

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-04 06:39:45 -06:00
..
format_connector_config.js Add base FTR test coverage for inference APIs (#198000) 2024-12-04 06:39:45 -06:00
retrieve_connector_config.js Add base FTR test coverage for inference APIs (#198000) 2024-12-04 06:39:45 -06:00
upload_connector_config.js Add base FTR test coverage for inference APIs (#198000) 2024-12-04 06:39:45 -06:00