发布

  • [NA] [SDK] Added experiments to import/export options (#3784)

    frostbyte_neo 发布于 2025-12-10 15:37:42 +00:00

    • [NA] [SDK] Added experiments to import/export

    • Update sdks/python/src/opik/cli/import_command.py

    Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com

    • Update sdks/python/src/opik/cli/export.py

    Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com

    • Address review comments

    • Restructure, fixes

    • Simplification

    • Linting

    • Removed dead code; updated docs

    • Make the tests more specific

    • Address Copilot review

    • Refactored into smaller files

    • Fix function calls

    • Add summary back to end of exports

    • Update help on import

    • Address review comments

    • Removed unneeded functions and constants

    • Protections against non-existing attributes

    • Fixes for import experiment

    • Use opik.Dataset

    • Ignore type checks

    • Move all imports to top

    • Breakup import_command; make symmetrical

    • Refactor importer; tested exporter; update docs

    • Validate filter for projects

    • Revise importer to match new exporter

    • Fix bad test

    • Linting

    • Address review comments

    • Address review comments; fix various issues

    • Linting

    • Remove changes from this PR

    • Linting

    • Handle differernt prompts appropriately

    • Mypy fixes

    • Handle propt type case

    • Add summary on import; address review comment

    • Address review comment

    • Remove flatten_dict_with_prefix

    • Conistent use of debug_print

    • Ensure import at top of file

    • Issue with dataset item hash (remove id); added missing dataset from summary

    • Projects don't import datasets?

    • Mypy fixes

    • Export experiments in parallel

    • Fix broken tests

    • Make import/export commands symmetric

    • Further symmetric unification: use --path

    • Linting on tests

    • Optimize e2e tests for cli import/export

    • Revision 2: Restore --dataset parameter for experiment export with client-side filtering and add e2e test

    • Revision 3: Consolidate chat prompt tests into main import/export test suite

    • Revision 4: Use existing verifiers from verifiers.py, replace track decorator with direct API calls, and remove unused description parameter

    • Fix lint errors


    Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com
    Co-authored-by: Douglas Blank doug@comet.com
    Co-authored-by: Alexander Kuzmik alexander.kuzmik99@gmail.com

    下载附件