Skip to content
Permalink
Browse files

feat(cli): add --sorted_response as cli argument

  • Loading branch information...
hanxiao committed Sep 4, 2019
1 parent 15c1dd6 commit 201c27e79f9f86075c27fe26b8d28c1f9477635f
Showing with 3 additions and 0 deletions.
  1. +3 −0 gnes/service/encoder.py
@@ -89,3 +89,6 @@ def _handler_train(self, msg: 'gnes_pb2.Message'):
@handler.register(gnes_pb2.Request.QueryRequest)
def _handler_search(self, msg: 'gnes_pb2.Message'):
self.embed_chunks_in_docs(msg.request.search.query, is_input_list=False)
self.logger.info(len(msg.request.search.query.chunks))
for c in msg.request.search.query.chunks:
self.logger.info(c.embedding)

0 comments on commit 201c27e

Please sign in to comment.
You can’t perform that action at this time.