Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ElasticsearchClient } from '@kbn/core-elasticsearch-server';
import { Logger } from '@kbn/logging';
import moment from 'moment';

export const AI_ASSISTANT_KB_INFERENCE_ID = 'ai_assistant_kb_inference';
export const AI_ASSISTANT_KB_INFERENCE_ID = 'obs_ai_assistant_kb_inference';

export async function createInferenceEndpoint({
esClient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
.expect(200);

expect(res.body.service_settings.model_id).to.be('pt_tiny_elser');
expect(res.body.inference_id).to.be('ai_assistant_kb_inference');
expect(res.body.inference_id).to.be('obs_ai_assistant_kb_inference');

await deleteKnowledgeBaseModel(ml);
await deleteInferenceEndpoint({ es });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
expect(res.body.ready).to.be(false);
expect(res.body.enabled).to.be(true);
expect(res.body.errorMessage).to.include.string(
'Inference endpoint not found [ai_assistant_kb_inference]'
'Inference endpoint not found [obs_ai_assistant_kb_inference]'
);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
.expect(200);

expect(res.body.service_settings.model_id).to.be('pt_tiny_elser');
expect(res.body.inference_id).to.be('ai_assistant_kb_inference');
expect(res.body.inference_id).to.be('obs_ai_assistant_kb_inference');

await deleteKnowledgeBaseModel(ml);
await deleteInferenceEndpoint({ es });
Expand Down