ragaai-catalyst 2.1.1b6__py3-none-any.whl → 2.1.2b1__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/dataset.py +1 -5
- ragaai_catalyst/experiment.py +1 -5
- ragaai_catalyst/tracers/agentic_tracing/data/data_structure.py +11 -7
- ragaai_catalyst/tracers/agentic_tracing/tracers/base.py +2 -2
- ragaai_catalyst/tracers/agentic_tracing/tracers/llm_tracer.py +19 -1
- ragaai_catalyst/tracers/agentic_tracing/tracers/main_tracer.py +4 -2
- ragaai_catalyst/tracers/agentic_tracing/upload/upload_code.py +4 -3
- ragaai_catalyst/tracers/agentic_tracing/utils/llm_utils.py +53 -5
- ragaai_catalyst/tracers/exporters/raga_exporter.py +1 -5
- ragaai_catalyst/tracers/tracer.py +17 -15
- {ragaai_catalyst-2.1.1b6.dist-info → ragaai_catalyst-2.1.2b1.dist-info}/METADATA +1 -1
- {ragaai_catalyst-2.1.1b6.dist-info → ragaai_catalyst-2.1.2b1.dist-info}/RECORD +14 -14
- {ragaai_catalyst-2.1.1b6.dist-info → ragaai_catalyst-2.1.2b1.dist-info}/WHEEL +0 -0
- {ragaai_catalyst-2.1.1b6.dist-info → ragaai_catalyst-2.1.2b1.dist-info}/top_level.txt +0 -0
ragaai_catalyst/dataset.py
CHANGED
@@ -16,11 +16,7 @@ class Dataset:
|
|
16
16
|
def __init__(self, project_name):
|
17
17
|
self.project_name = project_name
|
18
18
|
self.num_projects = 99999
|
19
|
-
Dataset.BASE_URL =
|
20
|
-
os.getenv("RAGAAI_CATALYST_BASE_URL")
|
21
|
-
if os.getenv("RAGAAI_CATALYST_BASE_URL")
|
22
|
-
else "https://catalyst.raga.ai/api"
|
23
|
-
)
|
19
|
+
Dataset.BASE_URL = RagaAICatalyst.BASE_URL
|
24
20
|
headers = {
|
25
21
|
"Authorization": f'Bearer {os.getenv("RAGAAI_CATALYST_TOKEN")}',
|
26
22
|
}
|
ragaai_catalyst/experiment.py
CHANGED
@@ -31,11 +31,7 @@ class Experiment:
|
|
31
31
|
Returns:
|
32
32
|
None
|
33
33
|
"""
|
34
|
-
Experiment.BASE_URL =
|
35
|
-
os.getenv("RAGAAI_CATALYST_BASE_URL")
|
36
|
-
if os.getenv("RAGAAI_CATALYST_BASE_URL")
|
37
|
-
else "https://llm-platform.prod5.ragaai.ai/api"
|
38
|
-
)
|
34
|
+
Experiment.BASE_URL = RagaAICatalyst.BASE_URL
|
39
35
|
self.project_name = project_name
|
40
36
|
self.experiment_name = experiment_name
|
41
37
|
self.experiment_description = experiment_description
|
@@ -173,15 +173,17 @@ class LLMCall:
|
|
173
173
|
duration: float = field(default=0)
|
174
174
|
|
175
175
|
class Component:
|
176
|
-
def __init__(self, id: str, hash_id: str, type: str, name: str, start_time: str, end_time: str, parent_id: int, info: Dict[str, Any], data: Dict[str, Any], network_calls: Optional[List[NetworkCall]] = None, interactions: Optional[List[Union[Interaction, Dict]]] = None, error: Optional[Dict[str, Any]] = None):
|
176
|
+
def __init__(self, id: str, hash_id: str, source_hash_id: str, type: str, name: str, start_time: str, end_time: str, parent_id: int, info: Dict[str, Any], extra_info: Dict[str, Any]={}, data: Dict[str, Any]={}, network_calls: Optional[List[NetworkCall]] = None, interactions: Optional[List[Union[Interaction, Dict]]] = None, error: Optional[Dict[str, Any]] = None):
|
177
177
|
self.id = id
|
178
178
|
self.hash_id = hash_id
|
179
|
+
self.source_hash_id = source_hash_id
|
179
180
|
self.type = type
|
180
181
|
self.name = name
|
181
182
|
self.start_time = start_time
|
182
183
|
self.end_time = end_time
|
183
184
|
self.parent_id = parent_id
|
184
185
|
self.info = info
|
186
|
+
self.extra_info = extra_info
|
185
187
|
self.data = data
|
186
188
|
self.error = error
|
187
189
|
self.network_calls = network_calls or []
|
@@ -205,12 +207,14 @@ class Component:
|
|
205
207
|
return {
|
206
208
|
"id": self.id,
|
207
209
|
"hash_id": self.hash_id,
|
210
|
+
"source_hash_id": self.source_hash_id,
|
208
211
|
"type": self.type,
|
209
212
|
"name": self.name,
|
210
213
|
"start_time": self.start_time,
|
211
214
|
"end_time": self.end_time,
|
212
215
|
"parent_id": self.parent_id,
|
213
216
|
"info": self.info,
|
217
|
+
"extra_info": self.extra_info,
|
214
218
|
"error": self.error,
|
215
219
|
"data": self.data,
|
216
220
|
"error": self.error,
|
@@ -219,16 +223,16 @@ class Component:
|
|
219
223
|
}
|
220
224
|
|
221
225
|
class LLMComponent(Component):
|
222
|
-
def __init__(self, id: str, hash_id: str, type: str, name: str, start_time: str, end_time: str, parent_id: int, info: Dict[str, Any], data: Dict[str, Any], network_calls: Optional[List[NetworkCall]] = None, interactions: Optional[List[Union[Interaction, Dict]]] = None, error: Optional[Dict[str, Any]] = None):
|
223
|
-
super().__init__(id, hash_id, type, name, start_time, end_time, parent_id, info, data, network_calls, interactions, error)
|
226
|
+
def __init__(self, id: str, hash_id: str, source_hash_id: str, type: str, name: str, start_time: str, end_time: str, parent_id: int, info: Dict[str, Any], extra_info: Dict[str, Any], data: Dict[str, Any], network_calls: Optional[List[NetworkCall]] = None, interactions: Optional[List[Union[Interaction, Dict]]] = None, error: Optional[Dict[str, Any]] = None):
|
227
|
+
super().__init__(id, hash_id, source_hash_id, type, name, start_time, end_time, parent_id, info, extra_info, data, network_calls, interactions, error)
|
224
228
|
|
225
229
|
class AgentComponent(Component):
|
226
|
-
def __init__(self, id: str, hash_id: str, type: str, name: str, start_time: str, end_time: str, parent_id: int, info: Dict[str, Any], data: Dict[str, Any], network_calls: Optional[List[NetworkCall]] = None, interactions: Optional[List[Union[Interaction, Dict]]] = None, error: Optional[Dict[str, Any]] = None):
|
227
|
-
super().__init__(id, hash_id, type, name, start_time, end_time, parent_id, info, data, network_calls, interactions, error)
|
230
|
+
def __init__(self, id: str, hash_id: str, source_hash_id: str, type: str, name: str, start_time: str, end_time: str, parent_id: int, info: Dict[str, Any], extra_info: Dict[str, Any], data: Dict[str, Any], network_calls: Optional[List[NetworkCall]] = None, interactions: Optional[List[Union[Interaction, Dict]]] = None, error: Optional[Dict[str, Any]] = None):
|
231
|
+
super().__init__(id, hash_id, source_hash_id, type, name, start_time, end_time, parent_id, info, extra_info, data, network_calls, interactions, error)
|
228
232
|
|
229
233
|
class ToolComponent(Component):
|
230
|
-
def __init__(self, id: str, hash_id: str, type: str, name: str, start_time: str, end_time: str, parent_id: int, info: Dict[str, Any], data: Dict[str, Any], network_calls: Optional[List[NetworkCall]] = None, interactions: Optional[List[Union[Interaction, Dict]]] = None, error: Optional[Dict[str, Any]] = None):
|
231
|
-
super().__init__(id, hash_id, type, name, start_time, end_time, parent_id, info, data, network_calls, interactions, error)
|
234
|
+
def __init__(self, id: str, hash_id: str, source_hash_id: str, type: str, name: str, start_time: str, end_time: str, parent_id: int, info: Dict[str, Any], extra_info: Dict[str, Any], data: Dict[str, Any], network_calls: Optional[List[NetworkCall]] = None, interactions: Optional[List[Union[Interaction, Dict]]] = None, error: Optional[Dict[str, Any]] = None):
|
235
|
+
super().__init__(id, hash_id, source_hash_id, type, name, start_time, end_time, parent_id, info, extra_info, data, network_calls, interactions, error)
|
232
236
|
|
233
237
|
@dataclass
|
234
238
|
class ComponentInfo:
|
@@ -9,7 +9,7 @@ from typing import List
|
|
9
9
|
import uuid
|
10
10
|
import sys
|
11
11
|
import tempfile
|
12
|
-
|
12
|
+
from ....ragaai_catalyst import RagaAICatalyst
|
13
13
|
from ..data.data_structure import (
|
14
14
|
Trace, Metadata, SystemInfo, OSInfo, EnvironmentInfo,
|
15
15
|
Resources, CPUResource, MemoryResource, DiskResource, NetworkResource,
|
@@ -203,7 +203,7 @@ class BaseTracer:
|
|
203
203
|
project_id = self.project_id
|
204
204
|
dataset_name = self.dataset_name
|
205
205
|
user_detail = self.user_details
|
206
|
-
base_url =
|
206
|
+
base_url = RagaAICatalyst.BASE_URL
|
207
207
|
upload_traces = UploadAgenticTraces(
|
208
208
|
json_file_path=json_file_path,
|
209
209
|
project_name=project_name,
|
@@ -41,6 +41,7 @@ class LLMTracerMixin:
|
|
41
41
|
"output_cost_per_token": 0.0
|
42
42
|
}
|
43
43
|
}
|
44
|
+
self.MAX_PARAMETERS_TO_DISPLAY = 10
|
44
45
|
self.current_llm_call_name = contextvars.ContextVar("llm_call_name", default=None)
|
45
46
|
self.component_network_calls = {}
|
46
47
|
self.component_user_interaction = {}
|
@@ -254,6 +255,22 @@ class LLMTracerMixin:
|
|
254
255
|
self.total_tokens += usage.get("total_tokens", 0)
|
255
256
|
self.total_cost += cost.get("total_cost", 0)
|
256
257
|
|
258
|
+
parameters_to_display = {}
|
259
|
+
if 'run_manager' in parameters:
|
260
|
+
parameters_obj = parameters['run_manager']
|
261
|
+
if hasattr(parameters_obj, 'metadata'):
|
262
|
+
metadata = parameters_obj.metadata
|
263
|
+
# parameters = {'metadata': metadata}
|
264
|
+
parameters_to_display.update(metadata)
|
265
|
+
|
266
|
+
# Add only those keys in parameters that are single values and not objects, dict or list
|
267
|
+
for key, value in parameters.items():
|
268
|
+
if isinstance(value, (str, int, float, bool)):
|
269
|
+
parameters_to_display[key] = value
|
270
|
+
|
271
|
+
# Limit the number of parameters to display
|
272
|
+
parameters_to_display = dict(list(parameters_to_display.items())[:self.MAX_PARAMETERS_TO_DISPLAY])
|
273
|
+
|
257
274
|
component = {
|
258
275
|
"id": component_id,
|
259
276
|
"hash_id": hash_id,
|
@@ -270,8 +287,9 @@ class LLMTracerMixin:
|
|
270
287
|
"memory_used": memory_used,
|
271
288
|
"cost": cost,
|
272
289
|
"tokens": usage,
|
273
|
-
**
|
290
|
+
**parameters_to_display
|
274
291
|
},
|
292
|
+
"extra_info": parameters,
|
275
293
|
"data": {
|
276
294
|
"input": input_data['args'] if hasattr(input_data, 'args') else input_data,
|
277
295
|
"output": output_data.output_response if output_data else None,
|
@@ -166,7 +166,7 @@ class AgenticTracing(BaseTracer, LLMTracerMixin, ToolTracerMixin, AgentTracerMix
|
|
166
166
|
def add_component(self, component_data: dict, is_error: bool = False):
|
167
167
|
"""Add a component to the trace data"""
|
168
168
|
# Convert dict to appropriate Component type
|
169
|
-
filtered_data = {k: v for k, v in component_data.items() if k in ["id", "hash_id", "type", "name", "start_time", "end_time", "parent_id", "info", "data", "network_calls", "interactions", "error"]}
|
169
|
+
filtered_data = {k: v for k, v in component_data.items() if k in ["id", "hash_id", "source_hash_id", "type", "name", "start_time", "end_time", "parent_id", "info", "extra_info", "data", "network_calls", "interactions", "error"]}
|
170
170
|
|
171
171
|
if component_data["type"] == "llm":
|
172
172
|
component = LLMComponent(**filtered_data)
|
@@ -206,6 +206,8 @@ class AgenticTracing(BaseTracer, LLMTracerMixin, ToolTracerMixin, AgentTracerMix
|
|
206
206
|
parent_component = agent_tracer_mixin.create_agent_component(
|
207
207
|
component_id=parent_id,
|
208
208
|
hash_id=str(uuid.uuid4()),
|
209
|
+
source_hash_id=None,
|
210
|
+
type="agent",
|
209
211
|
name=self.current_agent_name.get(),
|
210
212
|
agent_type=self.agent_type.get(),
|
211
213
|
version=self.version.get(),
|
@@ -219,7 +221,7 @@ class AgenticTracing(BaseTracer, LLMTracerMixin, ToolTracerMixin, AgentTracerMix
|
|
219
221
|
parent_id=None # Add parent ID if exists
|
220
222
|
)
|
221
223
|
|
222
|
-
filtered_data = {k: v for k, v in parent_component.items() if k in ["id", "hash_id", "type", "name", "start_time", "end_time", "parent_id", "info", "data", "network_calls", "interactions", "error"]}
|
224
|
+
filtered_data = {k: v for k, v in parent_component.items() if k in ["id", "hash_id", "source_hash_id", "type", "name", "start_time", "end_time", "parent_id", "info", "data", "network_calls", "interactions", "error"]}
|
223
225
|
parent_agent_component = AgentComponent(**filtered_data)
|
224
226
|
# Add the parent component to trace and stop tracing
|
225
227
|
super().add_component(parent_agent_component)
|
@@ -3,6 +3,7 @@ import requests
|
|
3
3
|
import json
|
4
4
|
import os
|
5
5
|
import logging
|
6
|
+
from ragaai_catalyst.ragaai_catalyst import RagaAICatalyst
|
6
7
|
logger = logging.getLogger(__name__)
|
7
8
|
|
8
9
|
def upload_code(hash_id, zip_path, project_name, dataset_name):
|
@@ -26,7 +27,7 @@ def _fetch_dataset_code_hashes(project_name, dataset_name):
|
|
26
27
|
|
27
28
|
try:
|
28
29
|
response = requests.request("GET",
|
29
|
-
f"{
|
30
|
+
f"{RagaAICatalyst.BASE_URL}/v2/llm/dataset/code?datasetName={dataset_name}",
|
30
31
|
headers=headers,
|
31
32
|
data=payload,
|
32
33
|
timeout=99999)
|
@@ -54,7 +55,7 @@ def _fetch_presigned_url(project_name, dataset_name):
|
|
54
55
|
|
55
56
|
try:
|
56
57
|
response = requests.request("GET",
|
57
|
-
f"{
|
58
|
+
f"{RagaAICatalyst.BASE_URL}/v1/llm/presigned-url",
|
58
59
|
headers=headers,
|
59
60
|
data=payload,
|
60
61
|
timeout=99999)
|
@@ -102,7 +103,7 @@ def _insert_code(dataset_name, hash_id, presigned_url, project_name):
|
|
102
103
|
|
103
104
|
try:
|
104
105
|
response = requests.request("POST",
|
105
|
-
f"{
|
106
|
+
f"{RagaAICatalyst.BASE_URL}/v2/llm/dataset/code",
|
106
107
|
headers=headers,
|
107
108
|
data=payload,
|
108
109
|
timeout=99999)
|
@@ -26,6 +26,17 @@ def extract_model_name(args, kwargs, result):
|
|
26
26
|
# Try model attribute
|
27
27
|
elif hasattr(instance, "model"):
|
28
28
|
model = instance.model
|
29
|
+
|
30
|
+
# Handle vertex ai case
|
31
|
+
if not model:
|
32
|
+
manager = kwargs.get("run_manager", None)
|
33
|
+
if manager:
|
34
|
+
if hasattr(manager, 'metadata'):
|
35
|
+
metadata = manager.metadata
|
36
|
+
model_name = metadata.get('ls_model_name', None)
|
37
|
+
if model_name:
|
38
|
+
model = model_name
|
39
|
+
|
29
40
|
|
30
41
|
# Normalize Google model names
|
31
42
|
if model and isinstance(model, str):
|
@@ -98,6 +109,30 @@ def extract_token_usage(result):
|
|
98
109
|
"total_tokens": getattr(metadata, "total_token_count", 0)
|
99
110
|
}
|
100
111
|
|
112
|
+
# Handle ChatResult format with generations
|
113
|
+
if hasattr(result, "generations") and result.generations:
|
114
|
+
# Get the first generation
|
115
|
+
generation = result.generations[0]
|
116
|
+
|
117
|
+
# Try to get usage from generation_info
|
118
|
+
if hasattr(generation, "generation_info"):
|
119
|
+
metadata = generation.generation_info.get("usage_metadata", {})
|
120
|
+
if metadata:
|
121
|
+
return {
|
122
|
+
"prompt_tokens": metadata.get("prompt_token_count", 0),
|
123
|
+
"completion_tokens": metadata.get("candidates_token_count", 0),
|
124
|
+
"total_tokens": metadata.get("total_token_count", 0)
|
125
|
+
}
|
126
|
+
|
127
|
+
# Try to get usage from message's usage_metadata
|
128
|
+
if hasattr(generation, "message") and hasattr(generation.message, "usage_metadata"):
|
129
|
+
metadata = generation.message.usage_metadata
|
130
|
+
return {
|
131
|
+
"prompt_tokens": metadata.get("input_tokens", 0),
|
132
|
+
"completion_tokens": metadata.get("output_tokens", 0),
|
133
|
+
"total_tokens": metadata.get("total_tokens", 0)
|
134
|
+
}
|
135
|
+
|
101
136
|
# Handle Vertex AI format
|
102
137
|
if hasattr(result, "text"):
|
103
138
|
# For LangChain ChatVertexAI
|
@@ -194,7 +229,7 @@ def extract_llm_output(result):
|
|
194
229
|
else:
|
195
230
|
# We're in an async context, but this function is called synchronously
|
196
231
|
# Return a placeholder and let the caller handle the coroutine
|
197
|
-
return OutputResponse("Coroutine result pending")
|
232
|
+
return OutputResponse([{'content': "Coroutine result pending", "role": "assistant"}])
|
198
233
|
|
199
234
|
# Handle Google GenerativeAI format
|
200
235
|
if hasattr(result, "result"):
|
@@ -213,11 +248,23 @@ def extract_llm_output(result):
|
|
213
248
|
return OutputResponse(output)
|
214
249
|
|
215
250
|
# Handle Vertex AI format
|
251
|
+
# format1
|
216
252
|
if hasattr(result, "text"):
|
217
253
|
return OutputResponse([{
|
218
254
|
"content": result.text,
|
219
255
|
"role": "assistant"
|
220
256
|
}])
|
257
|
+
|
258
|
+
|
259
|
+
# format2
|
260
|
+
if hasattr(result, "generations"):
|
261
|
+
output = []
|
262
|
+
for generation in result.generations:
|
263
|
+
output.append({
|
264
|
+
"content": generation.text,
|
265
|
+
"role": "assistant"
|
266
|
+
})
|
267
|
+
return OutputResponse(output)
|
221
268
|
|
222
269
|
# Handle OpenAI format
|
223
270
|
if hasattr(result, "choices"):
|
@@ -225,16 +272,17 @@ def extract_llm_output(result):
|
|
225
272
|
"content": choice.message.content,
|
226
273
|
"role": choice.message.role
|
227
274
|
} for choice in result.choices])
|
228
|
-
|
275
|
+
|
276
|
+
|
229
277
|
# Handle Anthropic format
|
230
|
-
if hasattr(result, "
|
278
|
+
if hasattr(result, "content"):
|
231
279
|
return OutputResponse([{
|
232
|
-
"content": result.
|
280
|
+
"content": result.content[0].text,
|
233
281
|
"role": "assistant"
|
234
282
|
}])
|
235
283
|
|
236
284
|
# Default case
|
237
|
-
return OutputResponse(
|
285
|
+
return OutputResponse([{'content': result, 'role': 'assistant'}])
|
238
286
|
|
239
287
|
|
240
288
|
def extract_llm_data(args, kwargs, result):
|
@@ -55,11 +55,7 @@ class RagaExporter:
|
|
55
55
|
"""
|
56
56
|
self.project_name = project_name
|
57
57
|
self.dataset_name = dataset_name
|
58
|
-
RagaExporter.BASE_URL =
|
59
|
-
os.getenv("RAGAAI_CATALYST_BASE_URL")
|
60
|
-
if os.getenv("RAGAAI_CATALYST_BASE_URL")
|
61
|
-
else "https://catalyst.raga.ai/api"
|
62
|
-
)
|
58
|
+
RagaExporter.BASE_URL = RagaAICatalyst.BASE_URL
|
63
59
|
self.access_key = os.getenv("RAGAAI_CATALYST_ACCESS_KEY")
|
64
60
|
self.secret_key = os.getenv("RAGAAI_CATALYST_SECRET_KEY")
|
65
61
|
self.max_urls = 20
|
@@ -288,20 +288,22 @@ class Tracer(AgenticTracing):
|
|
288
288
|
# Note: We're not resetting all attributes here to allow for upload status checking
|
289
289
|
|
290
290
|
def _pass_user_data(self):
|
291
|
-
|
291
|
+
user_detail = {
|
292
|
+
"project_name":self.project_name,
|
293
|
+
"project_id": self.project_id,
|
294
|
+
"dataset_name":self.dataset_name,
|
295
|
+
"trace_user_detail" : {
|
292
296
|
"project_id": self.project_id,
|
293
|
-
"
|
294
|
-
"
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
"
|
300
|
-
"
|
301
|
-
"
|
302
|
-
"llm_model": self.pipeline["llm_model"],
|
303
|
-
"vector_store": self.pipeline["vector_store"],
|
304
|
-
"embed_model": self.pipeline["embed_model"]
|
305
|
-
}
|
297
|
+
"trace_id": "",
|
298
|
+
"session_id": None,
|
299
|
+
"trace_type": self.tracer_type,
|
300
|
+
"traces": [],
|
301
|
+
"metadata": self.metadata,
|
302
|
+
"pipeline": {
|
303
|
+
"llm_model": (getattr(self, "pipeline", {}) or {}).get("llm_model", ""),
|
304
|
+
"vector_store": (getattr(self, "pipeline", {}) or {}).get("vector_store", ""),
|
305
|
+
"embed_model": (getattr(self, "pipeline", {}) or {}).get("embed_model", "")
|
306
306
|
}
|
307
|
-
}
|
307
|
+
}
|
308
|
+
}
|
309
|
+
return user_detail
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: ragaai_catalyst
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.2b1
|
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>
|
6
6
|
Requires-Python: <3.13,>=3.9
|
@@ -1,8 +1,8 @@
|
|
1
1
|
ragaai_catalyst/__init__.py,sha256=BdIJ_UUre0uEnRTsLw_hE0C0muWk6XWNZqdVOel22R4,537
|
2
2
|
ragaai_catalyst/_version.py,sha256=JKt9KaVNOMVeGs8ojO6LvIZr7ZkMzNN-gCcvryy4x8E,460
|
3
|
-
ragaai_catalyst/dataset.py,sha256=
|
3
|
+
ragaai_catalyst/dataset.py,sha256=aTRvZicAXmrC0KdmmsoJH_rtEJrxbqYmf1P806c1Wg0,10521
|
4
4
|
ragaai_catalyst/evaluation.py,sha256=34H2bYZNSrcu0jMQgDZw1OLVbQU80PaVLo2avju8POM,20311
|
5
|
-
ragaai_catalyst/experiment.py,sha256=
|
5
|
+
ragaai_catalyst/experiment.py,sha256=8yQo1phCHlpnJ-4CqCaIbLXg_1ZlAuLGI9kqGBl-OTE,18859
|
6
6
|
ragaai_catalyst/guard_executor.py,sha256=llPbE3DyVtrybojXknzBZj8-dtUrGBQwi9-ZiPJxGRo,3762
|
7
7
|
ragaai_catalyst/guardrails_manager.py,sha256=DILMOAASK57FH9BLq_8yC1AQzRJ8McMFLwCXgYwNAd4,11904
|
8
8
|
ragaai_catalyst/internal_api_completion.py,sha256=DdICI5yfEudiOAIC8L4oxH0Qz7kX-BZCdo9IWsi2gNo,2965
|
@@ -13,12 +13,12 @@ ragaai_catalyst/synthetic_data_generation.py,sha256=uDV9tNwto2xSkWg5XHXUvjErW-4P
|
|
13
13
|
ragaai_catalyst/utils.py,sha256=TlhEFwLyRU690HvANbyoRycR3nQ67lxVUQoUOfTPYQ0,3772
|
14
14
|
ragaai_catalyst/tracers/__init__.py,sha256=yxepo7iVjTNI_wFdk3Z6Ghu64SazVyszCPEHYrX5WQk,50
|
15
15
|
ragaai_catalyst/tracers/llamaindex_callback.py,sha256=vPE7MieKjfwLrLUnnPs20Df0xNYqoCCj-Mt2NbiuiKU,14023
|
16
|
-
ragaai_catalyst/tracers/tracer.py,sha256=
|
16
|
+
ragaai_catalyst/tracers/tracer.py,sha256=NgJrhC-nEbSYeFHYvWtzg73V1XokWVVoTs5z1n-xQUs,12716
|
17
17
|
ragaai_catalyst/tracers/upload_traces.py,sha256=hs0PEmit3n3_uUqrdbwcBdyK5Nbkik3JQVwJMEwYTd4,4796
|
18
18
|
ragaai_catalyst/tracers/agentic_tracing/README.md,sha256=X4QwLb7-Jg7GQMIXj-SerZIgDETfw-7VgYlczOR8ZeQ,4508
|
19
19
|
ragaai_catalyst/tracers/agentic_tracing/__init__.py,sha256=yf6SKvOPSpH-9LiKaoLKXwqj5sez8F_5wkOb91yp0oE,260
|
20
20
|
ragaai_catalyst/tracers/agentic_tracing/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
|
-
ragaai_catalyst/tracers/agentic_tracing/data/data_structure.py,sha256=
|
21
|
+
ragaai_catalyst/tracers/agentic_tracing/data/data_structure.py,sha256=Qv0EHo_RYoJEez3Fsl6DoZdCcbAeTnbu05j6YDQ_4kk,8170
|
22
22
|
ragaai_catalyst/tracers/agentic_tracing/tests/FinancialAnalysisSystem.ipynb,sha256=0qZxjWqYCTAVvdo3Tsp544D8Am48wfeMQ9RKpKgAL8g,34291
|
23
23
|
ragaai_catalyst/tracers/agentic_tracing/tests/GameActivityEventPlanner.ipynb,sha256=QCMFJYbGX0fd9eMW4PqyQLZjyWuTXo7n1nqO_hMLf0s,4225
|
24
24
|
ragaai_catalyst/tracers/agentic_tracing/tests/TravelPlanner.ipynb,sha256=fU3inXoemJbdTkGAQl_N1UwVEZ10LrKv4gCEpbQ4ISg,43481
|
@@ -27,34 +27,34 @@ ragaai_catalyst/tracers/agentic_tracing/tests/ai_travel_agent.py,sha256=S4rCcKzU
|
|
27
27
|
ragaai_catalyst/tracers/agentic_tracing/tests/unique_decorator_test.py,sha256=Xk1cLzs-2A3dgyBwRRnCWs7Eubki40FVonwd433hPN8,4805
|
28
28
|
ragaai_catalyst/tracers/agentic_tracing/tracers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
29
29
|
ragaai_catalyst/tracers/agentic_tracing/tracers/agent_tracer.py,sha256=_9yGrHLw9TnKkYaNkWHQaLFQgsi945CClDTpf6JhINk,21372
|
30
|
-
ragaai_catalyst/tracers/agentic_tracing/tracers/base.py,sha256=
|
31
|
-
ragaai_catalyst/tracers/agentic_tracing/tracers/llm_tracer.py,sha256=
|
32
|
-
ragaai_catalyst/tracers/agentic_tracing/tracers/main_tracer.py,sha256=
|
30
|
+
ragaai_catalyst/tracers/agentic_tracing/tracers/base.py,sha256=liLdiHdqc6BHH4YyvrdmX_fprXoeJchOqBwmzMJPrCc,14075
|
31
|
+
ragaai_catalyst/tracers/agentic_tracing/tracers/llm_tracer.py,sha256=AnszHgy8BwKbVV-sz4j_DdBkdVCz1Kv4jIxnU4lLep4,24841
|
32
|
+
ragaai_catalyst/tracers/agentic_tracing/tracers/main_tracer.py,sha256=tdwkpWx_eSyXtbpWTo9RG_cF_6q1F8oB0XyF4OiRKh8,10363
|
33
33
|
ragaai_catalyst/tracers/agentic_tracing/tracers/network_tracer.py,sha256=6FTA15xMnum9omM_0Jd9cMIuWdKu1gR5Tc8fOXAkP8E,10068
|
34
34
|
ragaai_catalyst/tracers/agentic_tracing/tracers/tool_tracer.py,sha256=RuxmiOT8DUzpy5oFNjImQDNjYDQ0kJO3Jkv-S1RukEE,8788
|
35
35
|
ragaai_catalyst/tracers/agentic_tracing/tracers/user_interaction_tracer.py,sha256=wsCwTK7tM_L3mdNrcg5Mq3D1k07XCHZkhOB26kz_rLY,1472
|
36
36
|
ragaai_catalyst/tracers/agentic_tracing/upload/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
37
37
|
ragaai_catalyst/tracers/agentic_tracing/upload/upload_agentic_traces.py,sha256=2Ab8odZXMpYFTh8a7tO53qx9RptF-xxyfgtFN0A6GzI,7690
|
38
|
-
ragaai_catalyst/tracers/agentic_tracing/upload/upload_code.py,sha256=
|
38
|
+
ragaai_catalyst/tracers/agentic_tracing/upload/upload_code.py,sha256=HgpMgI-JTWZrizcM7GGUIaAgaZF4aRT3D0dJXVEkblY,4271
|
39
39
|
ragaai_catalyst/tracers/agentic_tracing/utils/__init__.py,sha256=XdB3X_ufe4RVvGorxSqAiB9dYv4UD7Hvvuw3bsDUppY,60
|
40
40
|
ragaai_catalyst/tracers/agentic_tracing/utils/api_utils.py,sha256=JyNCbfpW-w4O9CjtemTqmor2Rh1WGpQwhRaDSRmBxw8,689
|
41
41
|
ragaai_catalyst/tracers/agentic_tracing/utils/file_name_tracker.py,sha256=515NNDQJTyy3O-2rdlUYUoWL9qSwLIfvV3sMB9BtHp8,1366
|
42
42
|
ragaai_catalyst/tracers/agentic_tracing/utils/generic.py,sha256=WwXT01xmp8MSr7KinuDCSK9a1ifpLcT7ajFkvYviG_A,1190
|
43
|
-
ragaai_catalyst/tracers/agentic_tracing/utils/llm_utils.py,sha256=
|
43
|
+
ragaai_catalyst/tracers/agentic_tracing/utils/llm_utils.py,sha256=F9J2K5RoHGploox51fxut0RI5KBPIuUhoJyLT0Lhv3Y,14085
|
44
44
|
ragaai_catalyst/tracers/agentic_tracing/utils/model_costs.json,sha256=6wnDtkBH-uwJeZm9FtyeXuUWux8u-skT3lmrtFwsReI,286298
|
45
45
|
ragaai_catalyst/tracers/agentic_tracing/utils/trace_utils.py,sha256=9cFzfFqIA968bUG7LNTjdN7zbdEXUtcvRKg883ade2c,2586
|
46
46
|
ragaai_catalyst/tracers/agentic_tracing/utils/unique_decorator.py,sha256=DQHjcEuqEKsNSWaNs7SoOaq50yK4Jsl966S7mBnV-zA,5723
|
47
47
|
ragaai_catalyst/tracers/agentic_tracing/utils/zip_list_of_unique_files.py,sha256=faFat_OAUnVJGnauMVo6yeHhTv-_njgyXGOtUwYJ8kE,7568
|
48
48
|
ragaai_catalyst/tracers/exporters/__init__.py,sha256=kVA8zp05h3phu4e-iHSlnznp_PzMRczB7LphSsZgUjg,138
|
49
49
|
ragaai_catalyst/tracers/exporters/file_span_exporter.py,sha256=RgGteu-NVGprXKkynvyIO5yOjpbtA41R3W_NzCjnkwE,6445
|
50
|
-
ragaai_catalyst/tracers/exporters/raga_exporter.py,sha256=
|
50
|
+
ragaai_catalyst/tracers/exporters/raga_exporter.py,sha256=6xvjWXyh8XPkHKSLLmAZUQSvwuyY17ov8pv2VdfI0qA,17875
|
51
51
|
ragaai_catalyst/tracers/instrumentators/__init__.py,sha256=FgnMQupoRTzmVsG9YKsLQera2Pfs-AluZv8CxwavoyQ,253
|
52
52
|
ragaai_catalyst/tracers/instrumentators/langchain.py,sha256=yMN0qVF0pUVk6R5M1vJoUXezDo1ejs4klCFRlE8x4vE,574
|
53
53
|
ragaai_catalyst/tracers/instrumentators/llamaindex.py,sha256=SMrRlR4xM7k9HK43hakE8rkrWHxMlmtmWD-AX6TeByc,416
|
54
54
|
ragaai_catalyst/tracers/instrumentators/openai.py,sha256=14R4KW9wQCR1xysLfsP_nxS7cqXrTPoD8En4MBAaZUU,379
|
55
55
|
ragaai_catalyst/tracers/utils/__init__.py,sha256=KeMaZtYaTojilpLv65qH08QmpYclfpacDA0U3wg6Ybw,64
|
56
56
|
ragaai_catalyst/tracers/utils/utils.py,sha256=ViygfJ7vZ7U0CTSA1lbxVloHp4NSlmfDzBRNCJuMhis,2374
|
57
|
-
ragaai_catalyst-2.1.
|
58
|
-
ragaai_catalyst-2.1.
|
59
|
-
ragaai_catalyst-2.1.
|
60
|
-
ragaai_catalyst-2.1.
|
57
|
+
ragaai_catalyst-2.1.2b1.dist-info/METADATA,sha256=UcwQ-x7UZK7x_oeysKCEORKhL0XCoI4T2ixuS0gwoSY,1804
|
58
|
+
ragaai_catalyst-2.1.2b1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
59
|
+
ragaai_catalyst-2.1.2b1.dist-info/top_level.txt,sha256=HpgsdRgEJMk8nqrU6qdCYk3di7MJkDL0B19lkc7dLfM,16
|
60
|
+
ragaai_catalyst-2.1.2b1.dist-info/RECORD,,
|
File without changes
|
File without changes
|