Skip to content

Commit

Permalink
Deprecate segment id field in proto request
Browse files Browse the repository at this point in the history
  • Loading branch information
Sicheng Pan authored and Sicheng-Pan committed Dec 17, 2024
1 parent 64aceea commit 41b2331
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions chromadb/proto/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,6 @@ def to_proto_where_document(where_document: WhereDocument) -> chroma_pb.WhereDoc
def to_proto_scan(scan: Scan) -> query_pb.ScanOperator:
return query_pb.ScanOperator(
collection=to_proto_collection(scan.collection),
knn_id=scan.knn["id"].hex,
metadata_id=scan.metadata["id"].hex,
record_id=scan.record["id"].hex,
knn=to_proto_segment(scan.knn),
metadata=to_proto_segment(scan.metadata),
record=to_proto_segment(scan.record),
Expand Down

0 comments on commit 41b2331

Please sign in to comment.