Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
fix(service): is input list is false when query
  • Loading branch information
jemmyshin committed Sep 3, 2019
1 parent 926250d commit a8d2acfdc9c89bfa1e233e7513d26a11be693bee
Showing with 1 addition and 1 deletion.
  1. +1 −1 gnes/service/encoder.py
@@ -88,5 +88,5 @@ def _handler_train(self, msg: 'gnes_pb2.Message'):

@handler.register(gnes_pb2.Request.QueryRequest)
def _handler_search(self, msg: 'gnes_pb2.Message'):
_, embeds = self.embed_chunks_in_docs(msg.request.search.query)
_, embeds = self.embed_chunks_in_docs(msg.request.search.query, is_input_list=False)
msg.request.search.query.chunk_embeddings.CopyFrom(array2blob(embeds))

0 comments on commit a8d2acf

Please sign in to comment.