vision-agent 0.2.149__py3-none-any.whl → 0.2.150__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
vision_agent/utils/sim.py CHANGED
@@ -125,7 +125,9 @@ class AzureSim(Sim):
125
125
  raise ValueError("key is required if no column 'embs' is present.")
126
126
 
127
127
  if sim_key is not None:
128
- self.df["embs"] = self.df[sim_key].apply(lambda x: get_embedding(client, x))
128
+ self.df["embs"] = self.df[sim_key].apply(
129
+ lambda x: get_embedding(self.emb_call, x)
130
+ )
129
131
 
130
132
 
131
133
  class OllamaSim(Sim):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vision-agent
3
- Version: 0.2.149
3
+ Version: 0.2.150
4
4
  Summary: Toolset for Vision Agent
5
5
  Author: Landing AI
6
6
  Author-email: dev@landing.ai
@@ -24,10 +24,10 @@ vision_agent/utils/__init__.py,sha256=7fMgbZiEwbNS0fBOS_hJI5PuEYBblw36zLi_UjUzvj
24
24
  vision_agent/utils/exceptions.py,sha256=booSPSuoULF7OXRr_YbC4dtKt6gM_HyiFQHBuaW86C4,2052
25
25
  vision_agent/utils/execute.py,sha256=WX4bYdmJGznnaxEOAKLc7cswUJNPZZCil1OP2xFzpRU,27943
26
26
  vision_agent/utils/image_utils.py,sha256=rm9GfXvD4JrjnqKrP_f2gfq4SzmqYC0IdC1kKwdn6sk,11303
27
- vision_agent/utils/sim.py,sha256=ebE9Cs00pVEDI1HMjAzUBk88tQQmc2U-yAzIDinnekU,5572
27
+ vision_agent/utils/sim.py,sha256=ZuSS07TUXFGjipmiQoY8TKRmSes7XXCdtU9PI8PC1sw,5609
28
28
  vision_agent/utils/type_defs.py,sha256=BE12s3JNQy36QvauXHjwyeffVh5enfcvd4vTzSwvEZI,1384
29
29
  vision_agent/utils/video.py,sha256=xbMEoRk13l4fHeQlbvMQhLCn8RNndYmsDhUf01TUeR8,4781
30
- vision_agent-0.2.149.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
31
- vision_agent-0.2.149.dist-info/METADATA,sha256=kdaPDsxWxc0gwBoPFzN0EiQ79NCDBeJzkHzEnh7mRjM,13758
32
- vision_agent-0.2.149.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
33
- vision_agent-0.2.149.dist-info/RECORD,,
30
+ vision_agent-0.2.150.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
31
+ vision_agent-0.2.150.dist-info/METADATA,sha256=zcfgNjECU5R-iqxWFi7uZlXpypPvuX1Sars7EJ6URyA,13758
32
+ vision_agent-0.2.150.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
33
+ vision_agent-0.2.150.dist-info/RECORD,,