ragaai-catalyst 2.2.4b2__py3-none-any.whl → 2.2.4b4__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.
- ragaai_catalyst/tracers/tracer.py +12 -38
- {ragaai_catalyst-2.2.4b2.dist-info → ragaai_catalyst-2.2.4b4.dist-info}/METADATA +1 -1
- {ragaai_catalyst-2.2.4b2.dist-info → ragaai_catalyst-2.2.4b4.dist-info}/RECORD +6 -6
- {ragaai_catalyst-2.2.4b2.dist-info → ragaai_catalyst-2.2.4b4.dist-info}/WHEEL +0 -0
- {ragaai_catalyst-2.2.4b2.dist-info → ragaai_catalyst-2.2.4b4.dist-info}/licenses/LICENSE +0 -0
- {ragaai_catalyst-2.2.4b2.dist-info → ragaai_catalyst-2.2.4b4.dist-info}/top_level.txt +0 -0
@@ -510,47 +510,12 @@ class Tracer(AgenticTracing):
|
|
510
510
|
|
511
511
|
def set_dataset_name(self, dataset_name):
|
512
512
|
"""
|
513
|
-
|
514
|
-
If using agentic/llamaindex tracer with dynamic exporter, update the exporter's dataset_name property.
|
515
|
-
|
513
|
+
This method updates the dataset_name attribute of the dynamic exporter.
|
516
514
|
Args:
|
517
515
|
dataset_name (str): The new dataset name to set
|
518
516
|
"""
|
519
|
-
|
520
|
-
|
521
|
-
# Update the dataset name in the dynamic exporter
|
522
|
-
self.dynamic_exporter.dataset_name = dataset_name
|
523
|
-
logger.debug(f"Updated dynamic exporter's dataset_name to {dataset_name}")
|
524
|
-
|
525
|
-
# Update the instance variable
|
526
|
-
self.dataset_name = dataset_name
|
527
|
-
|
528
|
-
# Update user_details with new dataset_name
|
529
|
-
self.user_details = self._pass_user_data()
|
530
|
-
|
531
|
-
# Also update the user_details in the dynamic exporter
|
532
|
-
self.dynamic_exporter.user_details = self.user_details
|
533
|
-
else:
|
534
|
-
current_params = {
|
535
|
-
'project_name': self.project_name,
|
536
|
-
'trace_name': self.trace_name,
|
537
|
-
'tracer_type': self.tracer_type,
|
538
|
-
'pipeline': self.pipeline,
|
539
|
-
'metadata': self.metadata,
|
540
|
-
'description': self.description,
|
541
|
-
'timeout': self.timeout,
|
542
|
-
'update_llm_cost': self.update_llm_cost,
|
543
|
-
'auto_instrumentation': self.auto_instrumentation,
|
544
|
-
'interval_time': self.interval_time,
|
545
|
-
'max_upload_workers': self.max_upload_workers,
|
546
|
-
'external_id': self.external_id
|
547
|
-
}
|
548
|
-
|
549
|
-
# Reinitialize self with new dataset_name and stored parameters
|
550
|
-
self.__init__(
|
551
|
-
dataset_name=dataset_name,
|
552
|
-
**current_params
|
553
|
-
)
|
517
|
+
self.dynamic_exporter.dataset_name = dataset_name
|
518
|
+
logger.debug(f"Updated dynamic exporter's dataset_name to {dataset_name}")
|
554
519
|
|
555
520
|
def _improve_metadata(self, metadata, tracer_type):
|
556
521
|
if metadata is None:
|
@@ -919,3 +884,12 @@ class Tracer(AgenticTracing):
|
|
919
884
|
self.metadata = user_metadata
|
920
885
|
else:
|
921
886
|
logger.warning("metadata must be a dictionary")
|
887
|
+
|
888
|
+
def set_project_name(self, project_name):
|
889
|
+
"""
|
890
|
+
This method updates the project_name attribute of the dynamic exporter.
|
891
|
+
Args:
|
892
|
+
project_name (str): The new project name to set
|
893
|
+
"""
|
894
|
+
self.dynamic_exporter.project_name = project_name
|
895
|
+
logger.debug(f"Updated dynamic exporter's project_name to {project_name}")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ragaai_catalyst
|
3
|
-
Version: 2.2.
|
3
|
+
Version: 2.2.4b4
|
4
4
|
Summary: RAGA AI CATALYST
|
5
5
|
Author-email: Kiran Scaria <kiran.scaria@raga.ai>, Kedar Gaikwad <kedar.gaikwad@raga.ai>, Dushyant Mahajan <dushyant.mahajan@raga.ai>, Siddhartha Kosti <siddhartha.kosti@raga.ai>, Ritika Goel <ritika.goel@raga.ai>, Vijay Chaurasia <vijay.chaurasia@raga.ai>, Tushar Kumar <tushar.kumar@raga.ai>, Rishabh Pandey <rishabh.pandey@raga.ai>, Jyotsana C G <jyotsana@raga.ai>
|
6
6
|
Requires-Python: <=3.13.2,>=3.10
|
@@ -31,7 +31,7 @@ ragaai_catalyst/tracers/distributed.py,sha256=CGPuOh4CsgEk428PPibieLaAG2Tt3BVygF
|
|
31
31
|
ragaai_catalyst/tracers/langchain_callback.py,sha256=CB75zzG3-DkYTELj0vI1MOHQTY0MuQJfoHIXz9Cl8S8,34568
|
32
32
|
ragaai_catalyst/tracers/llamaindex_callback.py,sha256=ZY0BJrrlz-P9Mg2dX-ZkVKG3gSvzwqBtk7JL_05MiYA,14028
|
33
33
|
ragaai_catalyst/tracers/llamaindex_instrumentation.py,sha256=Ys_jLkvVqo12bKgXDmkp4TxJu9HkBATrFE8cIcTYxWw,14329
|
34
|
-
ragaai_catalyst/tracers/tracer.py,sha256=
|
34
|
+
ragaai_catalyst/tracers/tracer.py,sha256=hxVJN45CtIeU8Dc5G1kreXJa7Vv_3buBAHVz-Q3buKo,41435
|
35
35
|
ragaai_catalyst/tracers/upload_traces.py,sha256=w1clGGfdOMpStUJX40NAlxe6dcFdN4pwcezyII0bGYA,6994
|
36
36
|
ragaai_catalyst/tracers/agentic_tracing/README.md,sha256=X4QwLb7-Jg7GQMIXj-SerZIgDETfw-7VgYlczOR8ZeQ,4508
|
37
37
|
ragaai_catalyst/tracers/agentic_tracing/__init__.py,sha256=yf6SKvOPSpH-9LiKaoLKXwqj5sez8F_5wkOb91yp0oE,260
|
@@ -88,8 +88,8 @@ ragaai_catalyst/tracers/utils/rag_extraction_logic_final.py,sha256=3ygkRT__lLDRf
|
|
88
88
|
ragaai_catalyst/tracers/utils/rag_trace_json_converter.py,sha256=54IEZO-YRjUAahV5nw8KClXqTF1LhfDry_TsZ4KGow4,20467
|
89
89
|
ragaai_catalyst/tracers/utils/trace_json_converter.py,sha256=U9GFVDCWRQvmBSMTDIZoMerJCnH8Gijw95r2oQbuFdQ,11560
|
90
90
|
ragaai_catalyst/tracers/utils/utils.py,sha256=o-p9n2ZuophdrV0wrixu-BqRHCkovup_klc3mS8mU8g,2374
|
91
|
-
ragaai_catalyst-2.2.
|
92
|
-
ragaai_catalyst-2.2.
|
93
|
-
ragaai_catalyst-2.2.
|
94
|
-
ragaai_catalyst-2.2.
|
95
|
-
ragaai_catalyst-2.2.
|
91
|
+
ragaai_catalyst-2.2.4b4.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
92
|
+
ragaai_catalyst-2.2.4b4.dist-info/METADATA,sha256=sOTQ0RA2Ao4UevDTayNNcYJhJ8OBza9sKJXpJ7lHg-0,17679
|
93
|
+
ragaai_catalyst-2.2.4b4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
94
|
+
ragaai_catalyst-2.2.4b4.dist-info/top_level.txt,sha256=HpgsdRgEJMk8nqrU6qdCYk3di7MJkDL0B19lkc7dLfM,16
|
95
|
+
ragaai_catalyst-2.2.4b4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|