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

feat: add controlplane operations for vectorindex #186

Merged
merged 3 commits into from
Aug 9, 2023
Merged
Changes from 2 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
30 changes: 30 additions & 0 deletions proto/controlclient.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,36 @@ service ScsControl {
rpc CreateSigningKey (_CreateSigningKeyRequest) returns (_CreateSigningKeyResponse) {}
rpc RevokeSigningKey (_RevokeSigningKeyRequest) returns (_RevokeSigningKeyResponse) {}
rpc ListSigningKeys (_ListSigningKeysRequest) returns (_ListSigningKeysResponse) {}
rpc CreateIndex (_CreateIndexRequest) returns (_CreateIndexRequest) {}
rpc DeleteIndex(_DeleteIndexRequest) returns (_DeleteIndexResponse) {}
rpc ListIndexes(_ListIndexesRequest) returns (_ListIndexesResponse) {}
}

message _CreateIndexRequest {
string index_name = 1;
uint64 num_dimensions = 2;
}

message _CreateIndexResponse {
}

message _DeleteIndexRequest {
string index_name = 1;
}

message _DeleteIndexResponse {
}

message _ListIndexesRequest {
PDXKimani marked this conversation as resolved.
Show resolved Hide resolved
}

message _ListIndexesResponse {
repeated _Index indexes = 1;
string next_token = 2;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is next_token used for?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pagination

}

message _Index {
string index_name = 1;
}

message _DeleteCacheRequest {
Expand Down
Loading