ray-embedding 0.9.4__tar.gz → 0.9.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ray-embedding
3
- Version: 0.9.4
3
+ Version: 0.9.5
4
4
  Summary: Deploy SentenceTransformers embedding models to a ray cluster
5
5
  Author: Crispin Almodovar
6
6
  Author-email: crispin.almodovar@docorto.ai
@@ -71,9 +71,8 @@ class EmbeddingModel:
71
71
  )
72
72
  return await self.create_embeddings_batch(request)
73
73
  except Exception as e:
74
- err_msg = str(e)
75
- self.logger.error(err_msg)
76
- raise HTTPException(status_code=500, detail=err_msg)
74
+ self.logger.error(e)
75
+ raise HTTPException(status_code=500, detail=str(e))
77
76
 
78
77
  @serve.batch(max_batch_size=8, batch_wait_timeout_s=0.25)
79
78
  async def create_embeddings_batch(self, requests: List[EmbeddingRequest]) -> List[EmbeddingResponse]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ray-embedding
3
- Version: 0.9.4
3
+ Version: 0.9.5
4
4
  Summary: Deploy SentenceTransformers embedding models to a ray cluster
5
5
  Author: Crispin Almodovar
6
6
  Author-email: crispin.almodovar@docorto.ai
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = ray-embedding
3
- version = 0.9.4
3
+ version = 0.9.5
4
4
  author = Crispin Almodovar
5
5
  author_email = crispin.almodovar@docorto.ai
6
6
  description = Deploy SentenceTransformers embedding models to a ray cluster
File without changes