Compatibility Issues Between arize-phoenix Versions Explained
I don’t think versions of arize-phoenix >=12.7.0 are compatible with older arize-phoenix-client. the docs say “dataset splits are available in arize-phoenix 12.7.0.“, but I observed the following:
-> dataset = client.datasets.get_dataset(
(Pdb++) from phoenix.version import version
*** ImportError: cannot import name 'version' from 'phoenix.version' (/Users/andrewsanchez/Projects/ankihub/ankihub/libs/ankihub-llm/.venv/lib/python3.12/site-packages/phoenix/version.py). Did you mean: 'Session'?
(Pdb++) from phoenix.version import __version__
(Pdb++) __version__
'12.10.0'
(Pdb++) c
Traceback (most recent call last):
File "/Users/andrewsanchez/Projects/ankihub/ankihub/libs/ankihub-llm/src/ankihub_llm/experiments/.snakemake/scripts/tmp58htc65n.llm_text_extraction.py", line 126, in <module>
main()
File "/Users/andrewsanchez/Projects/ankihub/ankihub/libs/ankihub-llm/src/ankihub_llm/experiments/.snakemake/scripts/tmp58htc65n.llm_text_extraction.py", line 101, in main
dataset = client.datasets.get_dataset(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Datasets.get_dataset() got an unexpected keyword argument 'splits'