ragaai-catalyst 1.0.8b1__tar.gz → 1.0.8b3__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.
Files changed (34) hide show
  1. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/PKG-INFO +1 -1
  2. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/docs/prompt_management.md +5 -5
  3. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/pyproject.toml +1 -1
  4. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/experiment.py +5 -2
  5. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst.egg-info/PKG-INFO +1 -1
  6. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/.gitignore +0 -0
  7. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/README.md +0 -0
  8. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/__init__.py +0 -0
  9. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/docs/dataset_management.md +0 -0
  10. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/examples/prompt_management_litellm.ipynb +0 -0
  11. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/examples/prompt_management_openai.ipynb +0 -0
  12. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/__init__.py +0 -0
  13. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/_version.py +0 -0
  14. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/dataset.py +0 -0
  15. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/prompt_manager.py +0 -0
  16. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/ragaai_catalyst.py +0 -0
  17. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/tracers/__init__.py +0 -0
  18. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/tracers/exporters/__init__.py +0 -0
  19. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/tracers/exporters/file_span_exporter.py +0 -0
  20. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/tracers/exporters/raga_exporter.py +0 -0
  21. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/tracers/instrumentators/__init__.py +0 -0
  22. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/tracers/instrumentators/langchain.py +0 -0
  23. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/tracers/instrumentators/llamaindex.py +0 -0
  24. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/tracers/instrumentators/openai.py +0 -0
  25. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/tracers/tracer.py +0 -0
  26. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/tracers/utils/__init__.py +0 -0
  27. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/tracers/utils/utils.py +0 -0
  28. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst/utils.py +0 -0
  29. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst.egg-info/SOURCES.txt +0 -0
  30. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst.egg-info/dependency_links.txt +0 -0
  31. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst.egg-info/requires.txt +0 -0
  32. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/ragaai_catalyst.egg-info/top_level.txt +0 -0
  33. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/requirements.txt +0 -0
  34. {ragaai_catalyst-1.0.8b1 → ragaai_catalyst-1.0.8b3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ragaai_catalyst
3
- Version: 1.0.8b1
3
+ Version: 1.0.8b3
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.9
@@ -3,11 +3,11 @@
3
3
  The Prompt Management feature in RagaAI Catalyst allows you to efficiently manage, retrieve, and use prompts in your projects.
4
4
 
5
5
  ## Table of Contents
6
- 1. [Ideal Flow](#ideal-flow)
7
- 2. [Error Cases](#error-cases)
6
+ 1. [Library Detail](#library-detail)
7
+ 2. [Error Handling](#error-handling)
8
8
  3. [FAQs](#faqs)
9
9
 
10
- ## Ideal Flow
10
+ ## Library Detail
11
11
 
12
12
  ### 1. Initialize RagaAICatalyst and PromptManager
13
13
 
@@ -88,7 +88,8 @@ print("parameters: ",parameters)
88
88
  ```
89
89
 
90
90
 
91
- ## Error Cases
91
+
92
+ ## Error Handling
92
93
 
93
94
  ### 1. Project Not Found
94
95
 
@@ -181,4 +182,3 @@ You can get the variables of a prompt by using the `get_variables()` method. Thi
181
182
  ### 6. How do I get my parameters?
182
183
 
183
184
  You can get the parameters of a prompt by using the `get_parameters()` method. This method allows you to retrieve the parameters of a prompt.
184
-
@@ -8,7 +8,7 @@ description = "RAGA AI CATALYST"
8
8
  readme = "README.md"
9
9
  requires-python = ">=3.9"
10
10
  # license = {file = "LICENSE"}
11
- version = "1.0.8.beta.1"
11
+ version = "1.0.8.beta.3"
12
12
  authors = [
13
13
  {name = "Kiran Scaria", email = "kiran.scaria@raga.ai"},
14
14
  {name = "Kedar Gaikwad", email = "kedar.gaikwad@raga.ai"},
@@ -89,7 +89,7 @@ class Experiment:
89
89
  "Authorization": f'Bearer {os.getenv("RAGAAI_CATALYST_TOKEN")}',
90
90
  }
91
91
  response = requests.get(
92
- f"{RagaAICatalyst.BASE_URL}/v1/llm/sub-datasets",
92
+ f"{RagaAICatalyst.BASE_URL}/v1/llm/sub-datasets?projectName={project_name}",
93
93
  headers=headers,
94
94
  timeout=self.TIMEOUT,
95
95
  )
@@ -474,7 +474,10 @@ class Experiment:
474
474
  x.columns = x.columns.str.replace("_reason_metric_config", "_metric_config")
475
475
  x.columns = x.columns.str.replace("_reason_status", "_status")
476
476
 
477
- x = x.drop(columns=["trace_uri"])
477
+ columns_list = x.columns.tolist()
478
+ #remove trace_uri from columns_list if it exists
479
+ columns_list = columns_list - ["trace_uri"]
480
+ x = x[columns_list]
478
481
 
479
482
  return True, x
480
483
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ragaai_catalyst
3
- Version: 1.0.8b1
3
+ Version: 1.0.8b3
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.9