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 @@ -34,6 +34,7 @@ public void testGetServicesWithoutTaskType() throws IOException {
allProviders(),
containsInAnyOrder(
List.of(
"ai21",
"alibabacloud-ai-search",
"amazonbedrock",
"anthropic",
Expand All @@ -47,6 +48,7 @@ public void testGetServicesWithoutTaskType() throws IOException {
"googlevertexai",
"hugging_face",
"jinaai",
"llama",
"mistral",
"openai",
"streaming_completion_test_service",
Expand Down Expand Up @@ -91,6 +93,7 @@ public void testGetServicesWithTextEmbeddingTaskType() throws IOException {
"googlevertexai",
"hugging_face",
"jinaai",
"llama",
"mistral",
"openai",
"text_embedding_test_service",
Expand Down Expand Up @@ -131,6 +134,8 @@ public void testGetServicesWithCompletionTaskType() throws IOException {
providersFor(TaskType.COMPLETION),
containsInAnyOrder(
List.of(
"ai21",
"llama",
"alibabacloud-ai-search",
"amazonbedrock",
"anthropic",
Expand All @@ -157,6 +162,8 @@ public void testGetServicesWithChatCompletionTaskType() throws IOException {
providersFor(TaskType.CHAT_COMPLETION),
containsInAnyOrder(
List.of(
"ai21",
"llama",
"deepseek",
"elastic",
"openai",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,6 @@ public TransportVersion getMinimalSupportedVersion() {
return TransportVersions.ML_INFERENCE_AI21_COMPLETION_ADDED;
}

@Override
public boolean hideFromConfigurationApi() {
// The AI21 service is very configurable so we're going to hide it from being exposed in the service API.
return true;
}

@Override
public Set<TaskType> supportedStreamingTasks() {
return EnumSet.of(TaskType.COMPLETION, TaskType.CHAT_COMPLETION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,12 +366,6 @@ public TransportVersion getMinimalSupportedVersion() {
return TransportVersions.ML_INFERENCE_LLAMA_ADDED;
}

@Override
public boolean hideFromConfigurationApi() {
// The Llama service is very configurable so we're going to hide it from being exposed in the service API.
return true;
}

/**
* Configuration class for the Llama inference service.
* It provides the settings and configurations required for the service.
Expand Down