Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Embedding Providers Config #1048

Merged
merged 15 commits into from
May 2, 2024
Prev Previous commit
Next Next commit
remove comment
  • Loading branch information
Hazel-Datastax committed May 1, 2024
commit 95be8294c55d2bdc847c759d4ed41e736d5051f5
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
import java.util.stream.Collectors;

/**
* Operation that list all available and vector providers into the {@link
* Operation that list all available and enabled vector providers into the {@link
* CommandStatus#EXISTING_VECTOR_PROVIDERS} command status.
*/
public record FindEmbeddingProvidersOperation(PropertyBasedEmbeddingProviderConfig config)
@@ -65,7 +65,6 @@ private record EmbeddingProviderResponse(
supportedAuthentication,
List<PropertyBasedEmbeddingProviderConfig.EmbeddingProviderConfig.ParameterConfig> parameters,
List<ModelConfigResponse> models) {
// TODO: fix code 74, 0 supposed to be model.vectorDimension()
private static EmbeddingProviderResponse provider(
PropertyBasedEmbeddingProviderConfig.EmbeddingProviderConfig embeddingProviderConfig) {
ArrayList<ModelConfigResponse> modelsRemoveProperties = new ArrayList<>();
Loading