Skip to content

Commit 8869b29

Browse files
committed
push
1 parent a88370e commit 8869b29

2 files changed

Lines changed: 0 additions & 97 deletions

File tree

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,26 @@
11
# This file was auto-generated by Fern from our API Definition.
22

3-
<<<<<<< HEAD
4-
import datetime as dt
5-
import typing
6-
7-
from ....core.datetime_utils import serialize_datetime
8-
from ....core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
9-
=======
103
import typing
114

125
import pydantic
136
import typing_extensions
147
from ...core.serialization import FieldMetadata
15-
>>>>>>> 4bf1ac17 (push)
168
from .base_score import BaseScore
179

1810

1911
class CorrectionScore(BaseScore):
20-
<<<<<<< HEAD
21-
value: float = pydantic_v1.Field()
22-
=======
2312
value: float = pydantic.Field()
24-
>>>>>>> 4bf1ac17 (push)
2513
"""
2614
The numeric value of the score. Always 0 for correction scores.
2715
"""
2816

29-
<<<<<<< HEAD
30-
string_value: str = pydantic_v1.Field(alias="stringValue")
31-
=======
3217
string_value: typing_extensions.Annotated[
3318
str, FieldMetadata(alias="stringValue")
3419
] = pydantic.Field()
35-
>>>>>>> 4bf1ac17 (push)
3620
"""
3721
The string representation of the correction content
3822
"""
3923

40-
<<<<<<< HEAD
41-
def json(self, **kwargs: typing.Any) -> str:
42-
kwargs_with_defaults: typing.Any = {
43-
"by_alias": True,
44-
"exclude_unset": True,
45-
**kwargs,
46-
}
47-
return super().json(**kwargs_with_defaults)
48-
49-
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
50-
kwargs_with_defaults_exclude_unset: typing.Any = {
51-
"by_alias": True,
52-
"exclude_unset": True,
53-
**kwargs,
54-
}
55-
kwargs_with_defaults_exclude_none: typing.Any = {
56-
"by_alias": True,
57-
"exclude_none": True,
58-
**kwargs,
59-
}
60-
61-
return deep_union_pydantic_dicts(
62-
super().dict(**kwargs_with_defaults_exclude_unset),
63-
super().dict(**kwargs_with_defaults_exclude_none),
64-
)
65-
66-
class Config:
67-
frozen = True
68-
smart_union = True
69-
allow_population_by_field_name = True
70-
populate_by_name = True
71-
extra = pydantic_v1.Extra.allow
72-
json_encoders = {dt.datetime: serialize_datetime}
73-
=======
7424
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
7525
extra="allow", frozen=True
7626
)
77-
>>>>>>> 4bf1ac17 (push)

langfuse/api/resources/score_v_2/types/get_scores_response_data_correction.py

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)