Skip to content

Commit f4a14fd

Browse files
gary-huangKyle-VerhoogYun-Kim
authored
chore(llmobs): dataframe and csv support (#14041)
adds support to create dataset from csv files and pandas dataframe support for datasets <img width="1084" height="406" alt="image" src="https://github.com/user-attachments/assets/9d0509e7-ee11-4245-8b23-d5c2f9a021b9" /> Also reverts a change from #14110 where config was removed as a task function arg. We are going back to previous behavior where users can configure their task function execution ## Checklist - [x] PR author has checked that all the criteria below are met - The PR description includes an overview of the change - The PR description articulates the motivation for the change - The change includes tests OR the PR description describes a testing strategy - The PR description notes risks associated with the change, if any - Newly-added code is easy to change - The change follows the [library release note guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html) - The change includes or references documentation updates if necessary - Backport labels are set (if [applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)) ## Reviewer Checklist - [x] Reviewer has checked that all the criteria below are met - Title is accurate - All changes are related to the pull request's stated goal - Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes - Testing strategy adequately addresses listed risks - Newly-added code is easy to change - Release note makes sense to a user of the library - If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment - Backport labels are set in a manner that is consistent with the [release branch maintenance policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting) --------- Co-authored-by: Kyle Verhoog <[email protected]> Co-authored-by: Yun Kim <[email protected]> Co-authored-by: Yun Kim <[email protected]>
1 parent 590accb commit f4a14fd

26 files changed

+1094
-220
lines changed

.riot/requirements/1fe8dd2.txt renamed to .riot/requirements/1900591.txt

Lines changed: 42 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,35 @@
22
# This file is autogenerated by pip-compile with Python 3.13
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1fe8dd2.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1900591.in
66
#
7-
aiohappyeyeballs==2.4.8
8-
aiohttp==3.11.13
9-
aiosignal==1.3.2
7+
aiohappyeyeballs==2.6.1
8+
aiohttp==3.12.14
9+
aiosignal==1.4.0
1010
annotated-types==0.7.0
11-
anyio==4.8.0
11+
anyio==4.9.0
1212
appdirs==1.4.4
13-
attrs==25.1.0
14-
certifi==2025.1.31
15-
charset-normalizer==3.4.1
16-
coverage[toml]==7.6.12
13+
attrs==25.3.0
14+
certifi==2025.7.14
15+
charset-normalizer==3.4.2
16+
coverage[toml]==7.9.2
1717
dataclasses-json==0.6.7
18-
datasets==3.3.2
18+
datasets==4.0.0
1919
dill==0.3.8
2020
distro==1.9.0
21-
filelock==3.17.0
22-
frozenlist==1.5.0
23-
fsspec[http]==2024.12.0
24-
h11==0.14.0
25-
httpcore==1.0.7
21+
filelock==3.18.0
22+
frozenlist==1.7.0
23+
fsspec[http]==2025.3.0
24+
greenlet==3.2.3
25+
h11==0.16.0
26+
hf-xet==1.1.5
27+
httpcore==1.0.9
2628
httpx==0.28.1
27-
huggingface-hub==0.29.2
29+
huggingface-hub==0.33.4
2830
hypothesis==6.45.0
2931
idna==3.10
30-
iniconfig==2.0.0
31-
jiter==0.8.2
32+
iniconfig==2.1.0
33+
jiter==0.10.0
3234
jsonpatch==1.33
3335
jsonpointer==3.0.0
3436
langchain==0.2.17
@@ -39,45 +41,47 @@ langchain-text-splitters==0.2.4
3941
langsmith==0.1.147
4042
marshmallow==3.26.1
4143
mock==5.2.0
42-
multidict==6.1.0
44+
multidict==6.6.3
4345
multiprocess==0.70.16
44-
mypy-extensions==1.0.0
46+
mypy-extensions==1.1.0
4547
nest-asyncio==1.6.0
4648
numpy==1.26.4
47-
openai==1.65.3
49+
openai==1.97.1
4850
opentracing==2.4.0
49-
orjson==3.10.15
51+
orjson==3.11.0
5052
packaging==24.2
51-
pandas==2.2.3
52-
pluggy==1.5.0
53-
propcache==0.3.0
54-
pyarrow==19.0.1
55-
pydantic==2.10.6
56-
pydantic-core==2.27.2
53+
pandas==2.3.1
54+
pluggy==1.6.0
55+
propcache==0.3.2
56+
pyarrow==21.0.0
57+
pydantic==2.11.7
58+
pydantic-core==2.33.2
59+
pygments==2.19.2
5760
pysbd==0.3.4
58-
pytest==8.3.5
61+
pytest==8.4.1
5962
pytest-asyncio==0.21.1
60-
pytest-cov==6.0.0
61-
pytest-mock==3.14.0
63+
pytest-cov==6.2.1
64+
pytest-mock==3.14.1
6265
python-dateutil==2.9.0.post0
63-
pytz==2025.1
66+
pytz==2025.2
6467
pyyaml==6.0.2
6568
ragas==0.1.21
6669
regex==2024.11.6
67-
requests==2.32.3
70+
requests==2.32.4
6871
requests-toolbelt==1.0.0
6972
six==1.17.0
7073
sniffio==1.3.1
7174
sortedcontainers==2.4.0
72-
sqlalchemy==2.0.38
75+
sqlalchemy==2.0.41
7376
tenacity==8.5.0
7477
tiktoken==0.9.0
7578
tqdm==4.67.1
76-
typing-extensions==4.12.2
79+
typing-extensions==4.14.1
7780
typing-inspect==0.9.0
78-
tzdata==2025.1
79-
urllib3==2.3.0
81+
typing-inspection==0.4.1
82+
tzdata==2025.2
83+
urllib3==2.5.0
8084
vcrpy==7.0.0
8185
wrapt==1.17.2
8286
xxhash==3.5.0
83-
yarl==1.18.3
87+
yarl==1.20.1

.riot/requirements/1687eab.txt renamed to .riot/requirements/46e9996.txt

Lines changed: 42 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,35 @@
22
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate --resolver=backtracking .riot/requirements/1687eab.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/46e9996.in
66
#
7-
aiohappyeyeballs==2.4.8
8-
aiohttp==3.11.13
9-
aiosignal==1.3.2
7+
aiohappyeyeballs==2.6.1
8+
aiohttp==3.12.14
9+
aiosignal==1.4.0
1010
annotated-types==0.7.0
11-
anyio==4.8.0
11+
anyio==4.9.0
1212
appdirs==1.4.4
13-
attrs==25.1.0
14-
certifi==2025.1.31
15-
charset-normalizer==3.4.1
16-
coverage[toml]==7.6.12
13+
attrs==25.3.0
14+
certifi==2025.7.14
15+
charset-normalizer==3.4.2
16+
coverage[toml]==7.9.2
1717
dataclasses-json==0.6.7
18-
datasets==3.3.2
18+
datasets==4.0.0
1919
dill==0.3.8
2020
distro==1.9.0
21-
filelock==3.17.0
22-
frozenlist==1.5.0
23-
fsspec[http]==2024.12.0
24-
h11==0.14.0
25-
httpcore==1.0.7
21+
filelock==3.18.0
22+
frozenlist==1.7.0
23+
fsspec[http]==2025.3.0
24+
greenlet==3.2.3
25+
h11==0.16.0
26+
hf-xet==1.1.5
27+
httpcore==1.0.9
2628
httpx==0.28.1
27-
huggingface-hub==0.29.2
29+
huggingface-hub==0.33.4
2830
hypothesis==6.45.0
2931
idna==3.10
30-
iniconfig==2.0.0
31-
jiter==0.8.2
32+
iniconfig==2.1.0
33+
jiter==0.10.0
3234
jsonpatch==1.33
3335
jsonpointer==3.0.0
3436
langchain==0.2.17
@@ -39,45 +41,47 @@ langchain-text-splitters==0.2.4
3941
langsmith==0.1.147
4042
marshmallow==3.26.1
4143
mock==5.2.0
42-
multidict==6.1.0
44+
multidict==6.6.3
4345
multiprocess==0.70.16
44-
mypy-extensions==1.0.0
46+
mypy-extensions==1.1.0
4547
nest-asyncio==1.6.0
4648
numpy==1.26.4
47-
openai==1.65.3
49+
openai==1.97.1
4850
opentracing==2.4.0
49-
orjson==3.10.15
51+
orjson==3.11.0
5052
packaging==24.2
51-
pandas==2.2.3
52-
pluggy==1.5.0
53-
propcache==0.3.0
54-
pyarrow==19.0.1
55-
pydantic==2.10.6
56-
pydantic-core==2.27.2
53+
pandas==2.3.1
54+
pluggy==1.6.0
55+
propcache==0.3.2
56+
pyarrow==21.0.0
57+
pydantic==2.11.7
58+
pydantic-core==2.33.2
59+
pygments==2.19.2
5760
pysbd==0.3.4
58-
pytest==8.3.5
61+
pytest==8.4.1
5962
pytest-asyncio==0.21.1
60-
pytest-cov==6.0.0
61-
pytest-mock==3.14.0
63+
pytest-cov==6.2.1
64+
pytest-mock==3.14.1
6265
python-dateutil==2.9.0.post0
63-
pytz==2025.1
66+
pytz==2025.2
6467
pyyaml==6.0.2
6568
ragas==0.1.21
6669
regex==2024.11.6
67-
requests==2.32.3
70+
requests==2.32.4
6871
requests-toolbelt==1.0.0
6972
six==1.17.0
7073
sniffio==1.3.1
7174
sortedcontainers==2.4.0
72-
sqlalchemy==2.0.38
75+
sqlalchemy==2.0.41
7376
tenacity==8.5.0
7477
tiktoken==0.9.0
7578
tqdm==4.67.1
76-
typing-extensions==4.12.2
79+
typing-extensions==4.14.1
7780
typing-inspect==0.9.0
78-
tzdata==2025.1
79-
urllib3==2.3.0
81+
typing-inspection==0.4.1
82+
tzdata==2025.2
83+
urllib3==2.5.0
8084
vcrpy==7.0.0
8185
wrapt==1.17.2
8286
xxhash==3.5.0
83-
yarl==1.18.3
87+
yarl==1.20.1

.riot/requirements/771848b.txt renamed to .riot/requirements/5908834.txt

Lines changed: 42 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,37 @@
22
# This file is autogenerated by pip-compile with Python 3.9
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate --resolver=backtracking .riot/requirements/771848b.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/5908834.in
66
#
7-
aiohappyeyeballs==2.4.8
8-
aiohttp==3.11.13
9-
aiosignal==1.3.2
7+
aiohappyeyeballs==2.6.1
8+
aiohttp==3.12.14
9+
aiosignal==1.4.0
1010
annotated-types==0.7.0
11-
anyio==4.8.0
11+
anyio==4.9.0
1212
appdirs==1.4.4
1313
async-timeout==4.0.3
14-
attrs==25.1.0
15-
certifi==2025.1.31
16-
charset-normalizer==3.4.1
17-
coverage[toml]==7.6.12
14+
attrs==25.3.0
15+
certifi==2025.7.14
16+
charset-normalizer==3.4.2
17+
coverage[toml]==7.9.2
1818
dataclasses-json==0.6.7
19-
datasets==3.3.2
19+
datasets==4.0.0
2020
dill==0.3.8
2121
distro==1.9.0
22-
exceptiongroup==1.2.2
23-
filelock==3.17.0
24-
frozenlist==1.5.0
25-
fsspec[http]==2024.12.0
26-
h11==0.14.0
27-
httpcore==1.0.7
22+
exceptiongroup==1.3.0
23+
filelock==3.18.0
24+
frozenlist==1.7.0
25+
fsspec[http]==2025.3.0
26+
greenlet==3.2.3
27+
h11==0.16.0
28+
hf-xet==1.1.5
29+
httpcore==1.0.9
2830
httpx==0.28.1
29-
huggingface-hub==0.29.2
31+
huggingface-hub==0.33.4
3032
hypothesis==6.45.0
3133
idna==3.10
32-
iniconfig==2.0.0
33-
jiter==0.8.2
34+
iniconfig==2.1.0
35+
jiter==0.10.0
3436
jsonpatch==1.33
3537
jsonpointer==3.0.0
3638
langchain==0.2.17
@@ -41,46 +43,48 @@ langchain-text-splitters==0.2.4
4143
langsmith==0.1.147
4244
marshmallow==3.26.1
4345
mock==5.2.0
44-
multidict==6.1.0
46+
multidict==6.6.3
4547
multiprocess==0.70.16
46-
mypy-extensions==1.0.0
48+
mypy-extensions==1.1.0
4749
nest-asyncio==1.6.0
4850
numpy==1.26.4
49-
openai==1.65.3
51+
openai==1.97.1
5052
opentracing==2.4.0
51-
orjson==3.10.15
53+
orjson==3.11.0
5254
packaging==24.2
53-
pandas==2.2.3
54-
pluggy==1.5.0
55-
propcache==0.3.0
56-
pyarrow==19.0.1
57-
pydantic==2.10.6
58-
pydantic-core==2.27.2
55+
pandas==2.3.1
56+
pluggy==1.6.0
57+
propcache==0.3.2
58+
pyarrow==21.0.0
59+
pydantic==2.11.7
60+
pydantic-core==2.33.2
61+
pygments==2.19.2
5962
pysbd==0.3.4
60-
pytest==8.3.5
63+
pytest==8.4.1
6164
pytest-asyncio==0.21.1
62-
pytest-cov==6.0.0
63-
pytest-mock==3.14.0
65+
pytest-cov==6.2.1
66+
pytest-mock==3.14.1
6467
python-dateutil==2.9.0.post0
65-
pytz==2025.1
68+
pytz==2025.2
6669
pyyaml==6.0.2
6770
ragas==0.1.21
6871
regex==2024.11.6
69-
requests==2.32.3
72+
requests==2.32.4
7073
requests-toolbelt==1.0.0
7174
six==1.17.0
7275
sniffio==1.3.1
7376
sortedcontainers==2.4.0
74-
sqlalchemy==2.0.38
77+
sqlalchemy==2.0.41
7578
tenacity==8.5.0
7679
tiktoken==0.9.0
7780
tomli==2.2.1
7881
tqdm==4.67.1
79-
typing-extensions==4.12.2
82+
typing-extensions==4.14.1
8083
typing-inspect==0.9.0
81-
tzdata==2025.1
84+
typing-inspection==0.4.1
85+
tzdata==2025.2
8286
urllib3==1.26.20
8387
vcrpy==7.0.0
8488
wrapt==1.17.2
8589
xxhash==3.5.0
86-
yarl==1.18.3
90+
yarl==1.20.1

0 commit comments

Comments
 (0)