-
New
generated_outputfield: Addgenerated_outputfield toDatasetRecordfor storing model-generated outputs separately from ground truth. This allows you to track both the expected output (ground truth) and the actual model output in the same dataset record. In the UI, this field is displayed as "Generated Output".Example:
from galileo.schema.datasets import DatasetRecord record = DatasetRecord( input="What is 2+2?", output="4", # Ground truth generated_output="The answer is 4" # Model-generated output )
-
Ground Truth naming support: The existing
outputfield is now displayed as "Ground Truth" in the Galileo UI for better clarity. The SDK supports bothoutputandground_truthfield names when creating records - both are normalized tooutputinternally, ensuring full backward compatibility. You can use either field name, and access the value via theground_truthproperty.Example:
from galileo.schema.datasets import DatasetRecord # Using 'output' (backward compatible) record1 = DatasetRecord(input="What is 2+2?", output="4") assert record1.ground_truth == "4" # Property accessor # Using 'ground_truth' (new recommended way) record2 = DatasetRecord(input="What is 2+2?", ground_truth="4") assert record2.output == "4" # Normalized internally assert record2.ground_truth == "4" # Property accessor
This changes the start_session function to return the session ID, and adds a new set_session
function.
-
langchain: Implement duration_ns metric for langchain callback async handler (#150,
eed7a81) -
langchain: Implement duration_ns metric for langchain callback handler (#145,
55f3cdf)
Automatically generated by python-semantic-release
-
deps-dev: Bump mkdocs-material from 9.6.12 to 9.6.13 (#131,
f44be0c) -
deps-dev: Bump pytest-asyncio from 0.25.3 to 0.26.0 (#129,
43e2af7) -
release: V0.9.1 (
b80a218)
Automatically generated by python-semantic-release
-
deps: Bump codecov/codecov-action from 5.4.0 to 5.4.2 (#119,
ba53ebf) -
deps: Bump openai-agents from 0.0.7 to 0.0.12 (#123,
0150eee) -
deps-dev: Bump mkdocs-material from 9.6.5 to 9.6.12 (#125,
707149a) -
deps-dev: Bump mkdocstrings from 0.27.0 to 0.29.1 (#124,
bdb2c47) -
release: V0.9.0 (
eeb6ddf)
Automatically generated by python-semantic-release
-
Restrict galileo-core version to only float forward for patch releases (#115,
37a4c36) -
release: V0.8.1 (
a308655)
Automatically generated by python-semantic-release
-
Pulling the latest openapi.yaml and regenerating the API client (#112,
bfa38fb) -
release: V0.8.0 (
3335cb9)
Automatically generated by python-semantic-release
-
Error occurred during execution: shutdown: 'GalileoTracingProcessor' object has no attribute '_commit' (#105,
e2ece22) -
Fix functionality to add new rows to dataset (#103,
5f2d633) -
Fixing the OpenAI wrapper when it's used in an active trace (#109,
10bb6f6)
- release: V0.7.0
(
76ab22d)
Automatically generated by python-semantic-release
Co-authored-by: Andrii Soldatenko andrii.soldatenko@gmail.com
-
Json datasets are not being passed into runner functions correctly (#100,
e833481) -
Updating README snippets to point to the correct OpenAI client wrapper (#92,
ffd2a68) -
Updating the Langchain handler retriever, tool, async chain callbacks (#101,
ce29a91) -
Use
MessageandMessageRolemodels fromgalileo-core(#99,c9ad656)
Automatically generated by python-semantic-release
Co-authored-by: Andrii Soldatenko andrii.soldatenko@gmail.com
- release: V0.5.0
(
2203995)
Automatically generated by python-semantic-release
Co-authored-by: Andrii Soldatenko andrii.soldatenko@gmail.com
- release: V0.4.0
(
8d700bc)
Automatically generated by python-semantic-release
Co-authored-by: Andrii Soldatenko andrii.soldatenko@gmail.com
-
Improve error message when galileo api key is empty or invalid (#82,
31593c4) -
Making the run_experiment return object consistent (#86,
4a3059f)
- release: V0.3.0
(
8fee183)
Automatically generated by python-semantic-release
-
Improve error handling and print better error when create prompt template fails (#81,
8839f8b) -
Set correct openai status code for successful run (#80,
6d8224f)
Automatically generated by python-semantic-release
- release: V0.2.3
(
5aa9b41)
Automatically generated by python-semantic-release
- release: V0.2.2
(
2a00be2)
Automatically generated by python-semantic-release
-
Add more informative console messages after running an experiment (#70,
fff4d0c) -
release: V0.2.1 (
780b1b9)
Automatically generated by python-semantic-release
Co-authored-by: Andrii Soldatenko andrii.soldatenko@gmail.com
Co-authored-by: ajaynayak ajaynayak@gmail.com
Co-authored-by: Andrii Soldatenko andrii.soldatenko@gmail.com
- release: V0.2.0
(
7d39fcb)
Automatically generated by python-semantic-release
Co-authored-by: Andrii Soldatenko andrii.soldatenko@gmail.com
-
Adding init, reset, and flush_all methods to galileo_context, adding tests, fixing existing tests (#28,
569d1d0) -
Fixing an issue with parsing OpenAI tool calls outputs (#36,
55c0fe4) -
Serialization of non-serialized types or classes (#48,
39d7611) -
Serializing trace, workflow, and tool span inputs and outputs (#41,
e54cb95) -
Typo inside ./scripts/auto-generate-api-client.sh (#32,
252c061)
-
Set version field in
pyproject.tomlcorrectly (#60,1560b76) -
Setup repo + package similarly to our other Python repos (#25,
4daac02) -
deps: Bump codecov/codecov-action from 5.3.1 to 5.4.0 (#42,
41d7955) -
deps: Bump python-semantic-release/python-semantic-release from 9.20.0 to 9.21.0 (#43,
95543ce) -
release: V0.1.0 (
e443300)
Automatically generated by python-semantic-release
Co-authored-by: ajaynayak ajaynayak@gmail.com
-
Adding a way to conclude all spans in a trace; restoring defaults in the decorator (#35,
130fe02) -
Catch and handle errors throughout the client (#46,
d6a82ee) -
Changes to support the new core logging schemas (#30,
a2c6ca8)
Changes to the client based on the following core and api changes: rungalileo/core#232 rungalileo/api#3489
There were some DX changes I made in this PR that will need to get moved to core: - renaming user_metadata to metadata for the logging functions - allowing more flexible types to be used for documents in the add_retriever_span() method. The current traces_logger method is too restrictive (forces a user to specify a list of dicts or a list of Documents, else throws an error). Since we're using function decorators, we need to be more permissive of method outputs which will map to the retriever documents field.
-
Decorator should create trace but reraise original exception (#45,
d3dbb7a) -
Replace app.galileo.ai with api.galileo.ai if users specify it incorrectly (#53,
9a7ac9e) -
Run experiment with a runner function and hosted metrics (#58,
5c37ff7)
Co-authored-by: Andrii Soldatenko ubuntu@ip-172-31-28-161.eu-central-1.compute.internal
Co-authored-by: ajaynayak ajaynayak@gmail.com