Skip to content

Commit bbf6693

Browse files
updating with chat_completion
1 parent f7d978f commit bbf6693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/InferencePlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public Collection<?> createComponents(PluginServices services) {
280280
elasticInferenceServiceComponents.set(
281281
new ElasticInferenceServiceComponents(
282282
elasticInferenceUrl,
283-
new ElasticInferenceServiceACL(Map.of("model-abc", EnumSet.of(TaskType.SPARSE_EMBEDDING, TaskType.COMPLETION)))
283+
new ElasticInferenceServiceACL(Map.of("model-abc", EnumSet.of(TaskType.SPARSE_EMBEDDING, TaskType.CHAT_COMPLETION)))
284284
)
285285
);
286286

0 commit comments

Comments
 (0)