vedana-core 0.6.0.dev1__py3-none-any.whl → 0.6.2__py3-none-any.whl

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.
vedana_core/utils.py CHANGED
@@ -1,6 +1,6 @@
1
1
  def cast_dtype(value, value_name: str, dtype: str | None):
2
2
  """
3
- умнейшая конвертация строковых переменных по заданному в дата-модели типу данных
3
+ convert strings into dtypes provided in data model
4
4
  """
5
5
 
6
6
  try:
@@ -18,7 +18,7 @@ def cast_dtype(value, value_name: str, dtype: str | None):
18
18
  value = int(value)
19
19
 
20
20
  elif dtype == "bool":
21
- return str(value).strip().lower() in ["1", "true", "да", "есть"]
21
+ return str(value).strip().lower() in ["1", "true"]
22
22
  elif dtype == "str":
23
23
  return str(value)
24
24
 
vedana_core/vts.py CHANGED
@@ -155,7 +155,7 @@ class PGVectorStore(VectorStore):
155
155
  self.node_table, self.rag_anchor_embeddings_table.c.node_id == self.node_table.c.node_id
156
156
  )
157
157
  )
158
- .where(self.rag_anchor_embeddings_table.c.label == label)
158
+ .where(self.rag_anchor_embeddings_table.c.node_type == label)
159
159
  .where(self.rag_anchor_embeddings_table.c.attribute_name == prop_name)
160
160
  .where(similarity > threshold)
161
161
  .order_by(distance)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vedana-core
3
- Version: 0.6.0.dev1
3
+ Version: 0.6.2
4
4
  Summary: Semantic Graph RAG App
5
5
  Author-email: Andrey Tatarinov <a@tatarinov.co>, Timur Sheydaev <tsheyd@epoch8.co>
6
6
  Requires-Python: >=3.12
@@ -10,8 +10,8 @@ vedana_core/rag_agent.py,sha256=kYYgVe7tLghLaaeaLUPJU8hS-LEZ1knx7As3oH_Wfks,8321
10
10
  vedana_core/rag_pipeline.py,sha256=eOnWYph-2qZufw4LzS6SeKWf69I7IKX_ynTd5H4noNY,13750
11
11
  vedana_core/settings.py,sha256=X78c46zppz6kuFIJx4xGUoaerlomPYz8XrYqeIOMy8c,892
12
12
  vedana_core/start_pipeline.py,sha256=SJWBCbod88z1Qv8st3bPAsqgGK7cRSwxOJcoWGRXvLM,597
13
- vedana_core/utils.py,sha256=blNd44rHLfVjWvKJGHx5q6RJPHHGBHE_8DYRUdYUX24,1189
14
- vedana_core/vts.py,sha256=JzIhb2bw1Z4fJrY7nn3FewIzRm2zZZVOUD8kgcgiucU,6981
15
- vedana_core-0.6.0.dev1.dist-info/METADATA,sha256=SGZbdSlhPraCO-ERP2naor1OSRefbcM2E-3G_W09ZGA,899
16
- vedana_core-0.6.0.dev1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
17
- vedana_core-0.6.0.dev1.dist-info/RECORD,,
13
+ vedana_core/utils.py,sha256=jw2Eg312bml5NffPfBT_3CAwPxxBUiC-7688B9BO708,1069
14
+ vedana_core/vts.py,sha256=lWZdlelEe7x6nQRGP0_vcpObPQKQBMmHNcuxMY1ziiw,6985
15
+ vedana_core-0.6.2.dist-info/METADATA,sha256=QdlIFMT_U8SnD_BdIcwqo_gYBqkRGpqxQXF1moOvevI,894
16
+ vedana_core-0.6.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
17
+ vedana_core-0.6.2.dist-info/RECORD,,