quick-pp 0.2.85__tar.gz → 0.2.87__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {quick_pp-0.2.85/quick_pp.egg-info → quick_pp-0.2.87}/PKG-INFO +40 -1
- quick_pp-0.2.87/data/tutorials/chatbot-simulation-evaluation/simulation_utils.py +203 -0
- quick_pp-0.2.87/data/tutorials/llm-compiler/math_tools.py +144 -0
- quick_pp-0.2.87/data/tutorials/llm-compiler/output_parser.py +177 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/QuickOverview.py +160 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/archive/ar.examples_subsurface.py +53 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/archive/example_zgy.py +101 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/example_amplitude_extraction_displays.py +286 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/example_depth_conversion.py +323 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/example_extract_arbitrary_line.py +293 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/example_extract_data_on_a_horizon.py +118 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/example_merge_surveys.py +429 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/example_segy_headers.py +100 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/example_segysak_basics.py +168 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/example_segysak_dask.py +122 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/example_segysak_segy_vectorisation.py +96 -0
- quick_pp-0.2.87/notebooks/data/01_raw/VOLVE/seismic/examples/example_working_with_3d_gathers.py +196 -0
- quick_pp-0.2.87/pyproject.toml +220 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/__init__.py +1 -1
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/router.py +9 -7
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/services/ancillary_project.py +558 -59
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/services/ancillary_well.py +54 -43
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/services/database.py +28 -19
- quick_pp-0.2.87/quick_pp/app/backend/services/qaqc.py +103 -0
- quick_pp-0.2.87/quick_pp/app/backend/static/logo-typo.png +0 -0
- quick_pp-0.2.87/quick_pp/app/backend/static/typo.png +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/docker/backend-entrypoint.sh +1 -1
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/cli.py +44 -21
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/database/objects.py +104 -29
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/database/setup_postgresql_db.sql +1 -1
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/database/setup_sqlite_db.sql +1 -1
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/lithology/__init__.py +10 -5
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/lithology/carbonate.py +8 -7
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/lithology/multi_mineral.py +7 -6
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/lithology/sand_shale.py +6 -5
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/lithology/sand_silt_clay.py +6 -5
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/lithology/thin_beds.py +29 -14
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/permeability.py +3 -3
- {quick_pp-0.2.85 → quick_pp-0.2.87/quick_pp.egg-info}/PKG-INFO +40 -1
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp.egg-info/SOURCES.txt +19 -1
- quick_pp-0.2.87/quick_pp.egg-info/requires.txt +47 -0
- quick_pp-0.2.87/quick_pp.egg-info/top_level.txt +8 -0
- quick_pp-0.2.85/pyproject.toml +0 -73
- quick_pp-0.2.85/quick_pp/app/docker/.env +0 -10
- quick_pp-0.2.85/quick_pp.egg-info/requires.txt +0 -17
- quick_pp-0.2.85/quick_pp.egg-info/top_level.txt +0 -1
- {quick_pp-0.2.85 → quick_pp-0.2.87}/LICENSE +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/MANIFEST.in +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/README.md +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/Makefile +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/_build/html/_static/file.png +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/_build/html/_static/minus.png +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/_build/html/_static/plus.png +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/make.bat +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/authors.rst +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/conf.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/contributing.rst +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/history.rst +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/index.rst +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/installation.rst +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/langflow_chat.rst +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/quick_pp.lithology.rst +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/quick_pp.machine_learning.rst +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/quick_pp.plotter.rst +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/quick_pp.rock_physics.rst +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/quick_pp.rst +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/source/usage.rst +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/docs/static/quick_pp_demo.gif +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/__init__.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/exceptions.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/fastapi_mlflow/__init__.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/fastapi_mlflow/_mlflow_types.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/fastapi_mlflow/applications.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/fastapi_mlflow/exceptions.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/fastapi_mlflow/predictors.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/main.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/mlflow_model_deployment.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/lithology_hc_correction.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/lithology_ssc.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/lithology_vsh_gr.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/permeability_choo.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/permeability_others.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/porosity.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/ressum.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/saturation_archie.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/saturation_b.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/saturation_qv.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/saturation_rw.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/saturation_temp_grad.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/schemas/saturation_waxman_smits.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/services/chat.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/services/las_handler.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/services/lithology.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/services/permeability.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/services/plotter.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/services/porosity.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/services/reservoir_summary.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/services/saturation.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/static/favicon.ico +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/static/logo.png +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/template/chat.html +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/backend/template/home.html +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/docker/.env.example +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/docker/Dockerfile +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/docker/docker-compose.yaml +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/docker/init_db.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/0.CaUgD-gb.css +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/0.CaUgD-gb.css.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/0.CaUgD-gb.css.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/17.CXoZs5og.css +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/17.CXoZs5og.css.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/17.CXoZs5og.css.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/7.Bqwkc1jm.css +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/7.Bqwkc1jm.css.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/7.Bqwkc1jm.css.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/DepthFilterStatus.CMzVkwfb.css +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/DepthFilterStatus.CMzVkwfb.css.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/DepthFilterStatus.CMzVkwfb.css.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/favicon.DFEIifsl.ico +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/logo.CT2Yyt_j.png +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/tables.D_GW5H37.css +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/tables.D_GW5H37.css.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/tables.D_GW5H37.css.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/vendor.S5W4ZllZ.css +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/vendor.S5W4ZllZ.css.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/assets/vendor.S5W4ZllZ.css.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/BA6D4iam.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/BA6D4iam.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/BA6D4iam.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/BIFDz2_Q.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/BIFDz2_Q.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/BIFDz2_Q.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/BJMC0GYJ.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/BJMC0GYJ.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/BJMC0GYJ.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/BNO5OzLn.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/BNO5OzLn.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/BNO5OzLn.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/C4A3Hpap.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/C4A3Hpap.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/C4A3Hpap.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/CGJgvb-R.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/CGJgvb-R.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/CGJgvb-R.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/CerN-z7d.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/CerN-z7d.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/CerN-z7d.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/DM-oo5q7.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/DM-oo5q7.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/DM-oo5q7.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/DPhlFIo5.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/DPhlFIo5.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/DPhlFIo5.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/Dh51Yzp7.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/Dh51Yzp7.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/Dh51Yzp7.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/DwWu_tO9.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/DwWu_tO9.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/DwWu_tO9.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/NApQS6X6.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/NApQS6X6.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/NApQS6X6.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/PPVm8Dsz.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/PPVm8Dsz.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/chunks/PPVm8Dsz.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/entry/app.BwWHKK4U.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/entry/app.BwWHKK4U.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/entry/app.BwWHKK4U.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/entry/start.DfuF6nXl.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/entry/start.DfuF6nXl.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/entry/start.DfuF6nXl.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/0.Dz-9g8Us.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/0.Dz-9g8Us.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/0.Dz-9g8Us.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/1.DN2KB0_o.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/1.DN2KB0_o.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/1.DN2KB0_o.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/10.DQ0iFDcS.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/10.DQ0iFDcS.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/10.DQ0iFDcS.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/11.DygxjVqi.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/11.DygxjVqi.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/11.DygxjVqi.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/12.DbAFZZ-o.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/12.DbAFZZ-o.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/12.DbAFZZ-o.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/13.DbAFZZ-o.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/13.DbAFZZ-o.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/13.DbAFZZ-o.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/14.C4OmXPSB.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/14.C4OmXPSB.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/14.C4OmXPSB.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/15.Duhp5JDE.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/15.Duhp5JDE.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/15.Duhp5JDE.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/16.enaIAYeX.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/16.enaIAYeX.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/16.enaIAYeX.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/17.NG_l2ux8.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/17.NG_l2ux8.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/17.NG_l2ux8.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/18.BnS6e-bi.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/18.BnS6e-bi.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/18.BnS6e-bi.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/2.FJg0fJS_.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/2.FJg0fJS_.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/2.FJg0fJS_.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/3.CtgAUTaR.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/3.CtgAUTaR.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/3.CtgAUTaR.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/4.BJK95NNK.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/4.BJK95NNK.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/4.BJK95NNK.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/5.Bfuk7BO1.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/5.Bfuk7BO1.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/5.Bfuk7BO1.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/6.vSR1xvUY.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/6.vSR1xvUY.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/6.vSR1xvUY.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/7.DzrCbYSR.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/7.DzrCbYSR.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/7.DzrCbYSR.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/8.BVQGBsVU.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/8.BVQGBsVU.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/8.BVQGBsVU.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/9.CUh0L9Ig.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/9.CUh0L9Ig.js.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/immutable/nodes/9.CUh0L9Ig.js.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/version.json +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/version.json.br +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/_app/version.json.gz +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/client/robots.txt +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/env.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/handler.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/index.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/0-Cal5f7dA.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/0-Cal5f7dA.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/1-D0f-9V5u.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/1-D0f-9V5u.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/10-DZMUn4Wr.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/10-DZMUn4Wr.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/11-DhQK132s.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/11-DhQK132s.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/12-CMvRL5O3.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/12-CMvRL5O3.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/13-DVTbv_E_.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/13-DVTbv_E_.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/14-BjYBvCCA.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/14-BjYBvCCA.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/15-Dg2fBvPV.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/15-Dg2fBvPV.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/16-1blQhY1c.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/16-1blQhY1c.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/17-Bw9SL3PH.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/17-Bw9SL3PH.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/18-Cd7a_s6J.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/18-Cd7a_s6J.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/2-CtwfHNUX.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/2-CtwfHNUX.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/3-CSRKds-W.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/3-CSRKds-W.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/4-CckHLAu9.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/4-CckHLAu9.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/5-B9futNcv.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/5-B9futNcv.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/6-G74WonYv.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/6-G74WonYv.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/7-DZ0amEzH.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/7-DZ0amEzH.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/8-Mdcr8byv.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/8-Mdcr8byv.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/9-BeVWBCn6.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/9-BeVWBCn6.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/DepthFilterStatus-CoPALVjg.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/DepthFilterStatus-CoPALVjg.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/ProjectWorkspace-BWz_6dlS.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/ProjectWorkspace-BWz_6dlS.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/WsWellPlot-DZyVLr4S.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/WsWellPlot-DZyVLr4S.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_layout.svelte-BFBJWT5U.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_layout.svelte-BFBJWT5U.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_layout.svelte-BsUbTBtd.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_layout.svelte-BsUbTBtd.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_layout.svelte-DdlYk1mW.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_layout.svelte-DdlYk1mW.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-BOSwiN6H.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-BOSwiN6H.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-BWaHjcdH.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-BWaHjcdH.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-Bj1a12Lg.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-Bj1a12Lg.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-BpsMepdz.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-BpsMepdz.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-D0GBuANB.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-D0GBuANB.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-DEZ7Znyl.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-DEZ7Znyl.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-DNiFmVZz.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-DNiFmVZz.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-DbkE5NrZ.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-DbkE5NrZ.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-DfcG5obj.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-DfcG5obj.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-DqQuZ22O.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-DqQuZ22O.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-NPsYaMr8.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-NPsYaMr8.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-c-FkJeW8.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-c-FkJeW8.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-c8T13YT3.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-c8T13YT3.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-zm18oVqC.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-zm18oVqC.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-zu62S2ui.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/_page.svelte-zu62S2ui.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/button-OqwHuG0e.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/button-OqwHuG0e.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/card-title-CR6MzqoE.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/card-title-CR6MzqoE.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/error.svelte-ClwENRG1.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/error.svelte-ClwENRG1.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/site-header-B23We0yh.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/site-header-B23We0yh.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/workspace-vC78W1nf.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/workspace-vC78W1nf.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/ws-well-wJ1cF1JS.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/chunks/ws-well-wJ1cF1JS.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/index.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/index.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/manifest.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/server/manifest.js.map +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/app/frontend/build/shims.js +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/config.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/core_analysis.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/database/__init__.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/database/db_connector.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/database/models.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/fluid_type.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/las_handler.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/machine_learning/__init__.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/machine_learning/config.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/machine_learning/feature_engineering.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/machine_learning/mock_data/mock_data.parquet +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/machine_learning/predict_pipeline.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/machine_learning/train_pipeline.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/machine_learning/utils.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/plotter/__init__.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/plotter/plotter.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/plotter/well_log.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/plotter/well_log_config.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/porosity.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/qaqc.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/ressum.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/rock_physics/__init__.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/rock_physics/geomechanics.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/rock_physics/geophysics.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/rock_physics/rpm.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/rock_type.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/saturation.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp/utils.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp.egg-info/dependency_links.txt +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/quick_pp.egg-info/entry_points.txt +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/setup.cfg +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/tests/__init__.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/tests/test_ancillary.py +0 -0
- {quick_pp-0.2.85 → quick_pp-0.2.87}/tests/test_quick_pp.py +0 -0
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quick-pp
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.87
|
|
4
4
|
Summary: Python package to assist in providing quick-look preliminary petrophysical estimation.
|
|
5
5
|
Author-email: Imran Fadhil <imranfadhil@gmail.com>
|
|
6
|
+
Maintainer-email: Imran Fadhil <imranfadhil@gmail.com>
|
|
6
7
|
License-Expression: MIT
|
|
7
8
|
Project-URL: Homepage, https://github.com/imranfadhil/quick_pp
|
|
9
|
+
Project-URL: Repository, https://github.com/imranfadhil/quick_pp
|
|
10
|
+
Project-URL: Documentation, https://quick-pp.readthedocs.io
|
|
11
|
+
Project-URL: Bug Reports, https://github.com/imranfadhil/quick_pp/issues
|
|
12
|
+
Project-URL: Changelog, https://github.com/imranfadhil/quick_pp/blob/main/CHANGELOG.md
|
|
8
13
|
Keywords: geoscience,petrophysics,well log,well plot,quick_pp,multi mineral,rock typing,saturation height function,shf
|
|
9
14
|
Classifier: Development Status :: 2 - Pre-Alpha
|
|
10
15
|
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Science/Research
|
|
17
|
+
Classifier: Intended Audience :: Education
|
|
11
18
|
Classifier: Natural Language :: English
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
12
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering
|
|
23
|
+
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
24
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
25
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
13
26
|
Requires-Python: >=3.11
|
|
14
27
|
Description-Content-Type: text/markdown
|
|
15
28
|
License-File: LICENSE
|
|
@@ -21,6 +34,7 @@ Requires-Dist: matplotlib==3.8.0
|
|
|
21
34
|
Requires-Dist: mlflow
|
|
22
35
|
Requires-Dist: orjson
|
|
23
36
|
Requires-Dist: pandas
|
|
37
|
+
Requires-Dist: plotly
|
|
24
38
|
Requires-Dist: psycopg2-binary
|
|
25
39
|
Requires-Dist: ptitprince
|
|
26
40
|
Requires-Dist: python-multipart
|
|
@@ -30,6 +44,31 @@ Requires-Dist: scikit-learn
|
|
|
30
44
|
Requires-Dist: setuptools<81
|
|
31
45
|
Requires-Dist: statsmodels
|
|
32
46
|
Requires-Dist: welly
|
|
47
|
+
Provides-Extra: dev
|
|
48
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
49
|
+
Requires-Dist: pytest-cov>=4.0; extra == "dev"
|
|
50
|
+
Requires-Dist: pytest-mock>=3.10; extra == "dev"
|
|
51
|
+
Requires-Dist: ruff>=0.1.0; extra == "dev"
|
|
52
|
+
Requires-Dist: mypy>=1.5; extra == "dev"
|
|
53
|
+
Requires-Dist: black>=23.0; extra == "dev"
|
|
54
|
+
Requires-Dist: pre-commit>=3.0; extra == "dev"
|
|
55
|
+
Requires-Dist: build>=0.10; extra == "dev"
|
|
56
|
+
Requires-Dist: twine>=4.0; extra == "dev"
|
|
57
|
+
Provides-Extra: test
|
|
58
|
+
Requires-Dist: pytest>=7.0; extra == "test"
|
|
59
|
+
Requires-Dist: pytest-cov>=4.0; extra == "test"
|
|
60
|
+
Requires-Dist: pytest-mock>=3.10; extra == "test"
|
|
61
|
+
Requires-Dist: pytest-xdist>=3.0; extra == "test"
|
|
62
|
+
Provides-Extra: docs
|
|
63
|
+
Requires-Dist: sphinx>=7.0; extra == "docs"
|
|
64
|
+
Requires-Dist: sphinx-rtd-theme>=1.3; extra == "docs"
|
|
65
|
+
Requires-Dist: sphinx-autodoc-typehints>=1.24; extra == "docs"
|
|
66
|
+
Requires-Dist: myst-parser>=2.0; extra == "docs"
|
|
67
|
+
Provides-Extra: full
|
|
68
|
+
Requires-Dist: jupyter>=1.0; extra == "full"
|
|
69
|
+
Requires-Dist: ipykernel>=6.0; extra == "full"
|
|
70
|
+
Requires-Dist: seaborn>=0.12; extra == "full"
|
|
71
|
+
Requires-Dist: bokeh>=3.0; extra == "full"
|
|
33
72
|
Dynamic: license-file
|
|
34
73
|
|
|
35
74
|
# quick_pp
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import functools
|
|
2
|
+
from typing import Annotated, Any, Callable, Dict, List, Optional, Union
|
|
3
|
+
|
|
4
|
+
from langchain_community.adapters.openai import convert_message_to_dict
|
|
5
|
+
from langchain_core.messages import AIMessage, AnyMessage, BaseMessage, HumanMessage
|
|
6
|
+
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
|
|
7
|
+
from langchain_core.runnables import Runnable, RunnableLambda
|
|
8
|
+
from langchain_core.runnables import chain as as_runnable
|
|
9
|
+
from langchain_openai import ChatOpenAI
|
|
10
|
+
from typing_extensions import TypedDict
|
|
11
|
+
|
|
12
|
+
from langgraph.graph import END, StateGraph, START
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def langchain_to_openai_messages(messages: List[BaseMessage]):
|
|
16
|
+
"""
|
|
17
|
+
Convert a list of langchain base messages to a list of openai messages.
|
|
18
|
+
|
|
19
|
+
Parameters:
|
|
20
|
+
messages (List[BaseMessage]): A list of langchain base messages.
|
|
21
|
+
|
|
22
|
+
Returns:
|
|
23
|
+
List[dict]: A list of openai messages.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
return [
|
|
27
|
+
convert_message_to_dict(m) if isinstance(m, BaseMessage) else m
|
|
28
|
+
for m in messages
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def create_simulated_user(
|
|
33
|
+
system_prompt: str, llm: Runnable | None = None
|
|
34
|
+
) -> Runnable[Dict, AIMessage]:
|
|
35
|
+
"""
|
|
36
|
+
Creates a simulated user for chatbot simulation.
|
|
37
|
+
|
|
38
|
+
Args:
|
|
39
|
+
system_prompt (str): The system prompt to be used by the simulated user.
|
|
40
|
+
llm (Runnable | None, optional): The language model to be used for the simulation.
|
|
41
|
+
Defaults to gpt-3.5-turbo.
|
|
42
|
+
|
|
43
|
+
Returns:
|
|
44
|
+
Runnable[Dict, AIMessage]: The simulated user for chatbot simulation.
|
|
45
|
+
"""
|
|
46
|
+
return ChatPromptTemplate.from_messages(
|
|
47
|
+
[
|
|
48
|
+
("system", system_prompt),
|
|
49
|
+
MessagesPlaceholder(variable_name="messages"),
|
|
50
|
+
]
|
|
51
|
+
) | (llm or ChatOpenAI(model="gpt-3.5-turbo")).with_config(
|
|
52
|
+
run_name="simulated_user"
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
Messages = Union[list[AnyMessage], AnyMessage]
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def add_messages(left: Messages, right: Messages) -> Messages:
|
|
60
|
+
if not isinstance(left, list):
|
|
61
|
+
left = [left]
|
|
62
|
+
if not isinstance(right, list):
|
|
63
|
+
right = [right]
|
|
64
|
+
return left + right
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class SimulationState(TypedDict):
|
|
68
|
+
"""
|
|
69
|
+
Represents the state of a simulation.
|
|
70
|
+
|
|
71
|
+
Attributes:
|
|
72
|
+
messages (List[AnyMessage]): A list of messages in the simulation.
|
|
73
|
+
inputs (Optional[dict[str, Any]]): Optional inputs for the simulation.
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
messages: Annotated[List[AnyMessage], add_messages]
|
|
77
|
+
inputs: Optional[dict[str, Any]]
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def create_chat_simulator(
|
|
81
|
+
assistant: (
|
|
82
|
+
Callable[[List[AnyMessage]], str | AIMessage]
|
|
83
|
+
| Runnable[List[AnyMessage], str | AIMessage]
|
|
84
|
+
),
|
|
85
|
+
simulated_user: Runnable[Dict, AIMessage],
|
|
86
|
+
*,
|
|
87
|
+
input_key: str,
|
|
88
|
+
max_turns: int = 6,
|
|
89
|
+
should_continue: Optional[Callable[[SimulationState], str]] = None,
|
|
90
|
+
):
|
|
91
|
+
"""Creates a chat simulator for evaluating a chatbot.
|
|
92
|
+
|
|
93
|
+
Args:
|
|
94
|
+
assistant: The chatbot assistant function or runnable object.
|
|
95
|
+
simulated_user: The simulated user object.
|
|
96
|
+
input_key: The key for the input to the chat simulation.
|
|
97
|
+
max_turns: The maximum number of turns in the chat simulation. Default is 6.
|
|
98
|
+
should_continue: Optional function to determine if the simulation should continue.
|
|
99
|
+
If not provided, a default function will be used.
|
|
100
|
+
|
|
101
|
+
Returns:
|
|
102
|
+
The compiled chat simulation graph.
|
|
103
|
+
|
|
104
|
+
"""
|
|
105
|
+
graph_builder = StateGraph(SimulationState)
|
|
106
|
+
graph_builder.add_node(
|
|
107
|
+
"user",
|
|
108
|
+
_create_simulated_user_node(simulated_user),
|
|
109
|
+
)
|
|
110
|
+
graph_builder.add_node(
|
|
111
|
+
"assistant", _fetch_messages | assistant | _coerce_to_message
|
|
112
|
+
)
|
|
113
|
+
graph_builder.add_edge("assistant", "user")
|
|
114
|
+
graph_builder.add_conditional_edges(
|
|
115
|
+
"user",
|
|
116
|
+
should_continue or functools.partial(_should_continue, max_turns=max_turns),
|
|
117
|
+
)
|
|
118
|
+
# If your dataset has a 'leading question/input', then we route first to the assistant, otherwise, we let the user take the lead.
|
|
119
|
+
graph_builder.add_edge(START, "assistant" if input_key is not None else "user")
|
|
120
|
+
|
|
121
|
+
return (
|
|
122
|
+
RunnableLambda(_prepare_example).bind(input_key=input_key)
|
|
123
|
+
| graph_builder.compile()
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
## Private methods
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
def _prepare_example(inputs: dict[str, Any], input_key: Optional[str] = None):
|
|
131
|
+
if input_key is not None:
|
|
132
|
+
if input_key not in inputs:
|
|
133
|
+
raise ValueError(
|
|
134
|
+
f"Dataset's example input must contain the provided input key: '{input_key}'.\nFound: {list(inputs.keys())}"
|
|
135
|
+
)
|
|
136
|
+
messages = [HumanMessage(content=inputs[input_key])]
|
|
137
|
+
return {
|
|
138
|
+
"inputs": {k: v for k, v in inputs.items() if k != input_key},
|
|
139
|
+
"messages": messages,
|
|
140
|
+
}
|
|
141
|
+
return {"inputs": inputs, "messages": []}
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
def _invoke_simulated_user(state: SimulationState, simulated_user: Runnable):
|
|
145
|
+
"""Invoke the simulated user node."""
|
|
146
|
+
runnable = (
|
|
147
|
+
simulated_user
|
|
148
|
+
if isinstance(simulated_user, Runnable)
|
|
149
|
+
else RunnableLambda(simulated_user)
|
|
150
|
+
)
|
|
151
|
+
inputs = state.get("inputs", {})
|
|
152
|
+
inputs["messages"] = state["messages"]
|
|
153
|
+
return runnable.invoke(inputs)
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
def _swap_roles(state: SimulationState):
|
|
157
|
+
new_messages = []
|
|
158
|
+
for m in state["messages"]:
|
|
159
|
+
if isinstance(m, AIMessage):
|
|
160
|
+
new_messages.append(HumanMessage(content=m.content))
|
|
161
|
+
else:
|
|
162
|
+
new_messages.append(AIMessage(content=m.content))
|
|
163
|
+
return {
|
|
164
|
+
"inputs": state.get("inputs", {}),
|
|
165
|
+
"messages": new_messages,
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
@as_runnable
|
|
170
|
+
def _fetch_messages(state: SimulationState):
|
|
171
|
+
"""Invoke the simulated user node."""
|
|
172
|
+
return state["messages"]
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
def _convert_to_human_message(message: BaseMessage):
|
|
176
|
+
return {"messages": [HumanMessage(content=message.content)]}
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
def _create_simulated_user_node(simulated_user: Runnable):
|
|
180
|
+
"""Simulated user accepts a {"messages": [...]} argument and returns a single message."""
|
|
181
|
+
return (
|
|
182
|
+
_swap_roles
|
|
183
|
+
| RunnableLambda(_invoke_simulated_user).bind(simulated_user=simulated_user)
|
|
184
|
+
| _convert_to_human_message
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
def _coerce_to_message(assistant_output: str | BaseMessage):
|
|
189
|
+
if isinstance(assistant_output, str):
|
|
190
|
+
return {"messages": [AIMessage(content=assistant_output)]}
|
|
191
|
+
else:
|
|
192
|
+
return {"messages": [assistant_output]}
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
def _should_continue(state: SimulationState, max_turns: int = 6):
|
|
196
|
+
messages = state["messages"]
|
|
197
|
+
# TODO support other stop criteria
|
|
198
|
+
if len(messages) > max_turns:
|
|
199
|
+
return END
|
|
200
|
+
elif messages[-1].content.strip() == "FINISHED":
|
|
201
|
+
return END
|
|
202
|
+
else:
|
|
203
|
+
return "assistant"
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import math
|
|
2
|
+
import re
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
import numexpr
|
|
6
|
+
from langchain.chains.openai_functions import create_structured_output_runnable
|
|
7
|
+
from langchain_core.messages import SystemMessage
|
|
8
|
+
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
|
|
9
|
+
from langchain_core.runnables import RunnableConfig
|
|
10
|
+
from langchain_core.tools import StructuredTool
|
|
11
|
+
from langchain_openai import ChatOpenAI
|
|
12
|
+
from pydantic import BaseModel, Field
|
|
13
|
+
|
|
14
|
+
_MATH_DESCRIPTION = (
|
|
15
|
+
"math(problem: str, context: Optional[list[str]]) -> float:\n"
|
|
16
|
+
" - Solves the provided math problem.\n"
|
|
17
|
+
' - `problem` can be either a simple math problem (e.g. "1 + 3") or a word problem (e.g. "how many apples are there if there are 3 apples and 2 apples").\n'
|
|
18
|
+
" - You cannot calculate multiple expressions in one call. For instance, `math('1 + 3, 2 + 4')` does not work. "
|
|
19
|
+
"If you need to calculate multiple expressions, you need to call them separately like `math('1 + 3')` and then `math('2 + 4')`\n"
|
|
20
|
+
" - Minimize the number of `math` actions as much as possible. For instance, instead of calling "
|
|
21
|
+
'2. math("what is the 10% of $1") and then call 3. math("$1 + $2"), '
|
|
22
|
+
'you MUST call 2. math("what is the 110% of $1") instead, which will reduce the number of math actions.\n'
|
|
23
|
+
# Context specific rules below
|
|
24
|
+
" - You can optionally provide a list of strings as `context` to help the agent solve the problem. "
|
|
25
|
+
"If there are multiple contexts you need to answer the question, you can provide them as a list of strings.\n"
|
|
26
|
+
" - `math` action will not see the output of the previous actions unless you provide it as `context`. "
|
|
27
|
+
"You MUST provide the output of the previous actions as `context` if you need to do math on it.\n"
|
|
28
|
+
" - You MUST NEVER provide `search` type action's outputs as a variable in the `problem` argument. "
|
|
29
|
+
"This is because `search` returns a text blob that contains the information about the entity, not a number or value. "
|
|
30
|
+
"Therefore, when you need to provide an output of `search` action, you MUST provide it as a `context` argument to `math` action. "
|
|
31
|
+
'For example, 1. search("Barack Obama") and then 2. math("age of $1") is NEVER allowed. '
|
|
32
|
+
'Use 2. math("age of Barack Obama", context=["$1"]) instead.\n'
|
|
33
|
+
" - When you ask a question about `context`, specify the units. "
|
|
34
|
+
'For instance, "what is xx in height?" or "what is xx in millions?" instead of "what is xx?"\n'
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
_SYSTEM_PROMPT = """Translate a math problem into a expression that can be executed using Python's numexpr library. Use the output of running this code to answer the question.
|
|
39
|
+
|
|
40
|
+
Question: ${{Question with math problem.}}
|
|
41
|
+
```text
|
|
42
|
+
${{single line mathematical expression that solves the problem}}
|
|
43
|
+
```
|
|
44
|
+
...numexpr.evaluate(text)...
|
|
45
|
+
```output
|
|
46
|
+
${{Output of running the code}}
|
|
47
|
+
```
|
|
48
|
+
Answer: ${{Answer}}
|
|
49
|
+
|
|
50
|
+
Begin.
|
|
51
|
+
|
|
52
|
+
Question: What is 37593 * 67?
|
|
53
|
+
ExecuteCode({{code: "37593 * 67"}})
|
|
54
|
+
...numexpr.evaluate("37593 * 67")...
|
|
55
|
+
```output
|
|
56
|
+
2518731
|
|
57
|
+
```
|
|
58
|
+
Answer: 2518731
|
|
59
|
+
|
|
60
|
+
Question: 37593^(1/5)
|
|
61
|
+
ExecuteCode({{code: "37593**(1/5)"}})
|
|
62
|
+
...numexpr.evaluate("37593**(1/5)")...
|
|
63
|
+
```output
|
|
64
|
+
8.222831614237718
|
|
65
|
+
```
|
|
66
|
+
Answer: 8.222831614237718
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
_ADDITIONAL_CONTEXT_PROMPT = """The following additional context is provided from other functions.\
|
|
70
|
+
Use it to substitute into any ${{#}} variables or other words in the problem.\
|
|
71
|
+
\n\n${context}\n\nNote that context variables are not defined in code yet.\
|
|
72
|
+
You must extract the relevant numbers and directly put them in code."""
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
class ExecuteCode(BaseModel):
|
|
76
|
+
"""The input to the numexpr.evaluate() function."""
|
|
77
|
+
|
|
78
|
+
reasoning: str = Field(
|
|
79
|
+
...,
|
|
80
|
+
description="The reasoning behind the code expression, including how context is included, if applicable.",
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
code: str = Field(
|
|
84
|
+
...,
|
|
85
|
+
description="The simple code expression to execute by numexpr.evaluate().",
|
|
86
|
+
)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def _evaluate_expression(expression: str) -> str:
|
|
90
|
+
try:
|
|
91
|
+
local_dict = {"pi": math.pi, "e": math.e}
|
|
92
|
+
output = str(
|
|
93
|
+
numexpr.evaluate(
|
|
94
|
+
expression.strip(),
|
|
95
|
+
global_dict={}, # restrict access to globals
|
|
96
|
+
local_dict=local_dict, # add common mathematical functions
|
|
97
|
+
)
|
|
98
|
+
)
|
|
99
|
+
except Exception as e:
|
|
100
|
+
raise ValueError(
|
|
101
|
+
f'Failed to evaluate "{expression}". Raised error: {repr(e)}.'
|
|
102
|
+
" Please try again with a valid numerical expression"
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
# Remove any leading and trailing brackets from the output
|
|
106
|
+
return re.sub(r"^\[|\]$", "", output)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
def get_math_tool(llm: ChatOpenAI):
|
|
110
|
+
prompt = ChatPromptTemplate.from_messages(
|
|
111
|
+
[
|
|
112
|
+
("system", _SYSTEM_PROMPT),
|
|
113
|
+
("user", "{problem}"),
|
|
114
|
+
MessagesPlaceholder(variable_name="context", optional=True),
|
|
115
|
+
]
|
|
116
|
+
)
|
|
117
|
+
extractor = prompt | llm.with_structured_output(
|
|
118
|
+
ExecuteCode, method="function_calling"
|
|
119
|
+
)
|
|
120
|
+
|
|
121
|
+
def calculate_expression(
|
|
122
|
+
problem: str,
|
|
123
|
+
context: Optional[List[str]] = None,
|
|
124
|
+
config: Optional[RunnableConfig] = None,
|
|
125
|
+
):
|
|
126
|
+
chain_input = {"problem": problem}
|
|
127
|
+
if context:
|
|
128
|
+
context_str = "\n".join(context)
|
|
129
|
+
if context_str.strip():
|
|
130
|
+
context_str = _ADDITIONAL_CONTEXT_PROMPT.format(
|
|
131
|
+
context=context_str.strip()
|
|
132
|
+
)
|
|
133
|
+
chain_input["context"] = [SystemMessage(content=context_str)]
|
|
134
|
+
code_model = extractor.invoke(chain_input, config)
|
|
135
|
+
try:
|
|
136
|
+
return _evaluate_expression(code_model.code)
|
|
137
|
+
except Exception as e:
|
|
138
|
+
return repr(e)
|
|
139
|
+
|
|
140
|
+
return StructuredTool.from_function(
|
|
141
|
+
name="math",
|
|
142
|
+
func=calculate_expression,
|
|
143
|
+
description=_MATH_DESCRIPTION,
|
|
144
|
+
)
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import ast
|
|
2
|
+
import re
|
|
3
|
+
from typing import (
|
|
4
|
+
Any,
|
|
5
|
+
Dict,
|
|
6
|
+
Iterator,
|
|
7
|
+
List,
|
|
8
|
+
Optional,
|
|
9
|
+
Sequence,
|
|
10
|
+
Tuple,
|
|
11
|
+
Union,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
from langchain_core.exceptions import OutputParserException
|
|
15
|
+
from langchain_core.messages import BaseMessage
|
|
16
|
+
from langchain_core.output_parsers.transform import BaseTransformOutputParser
|
|
17
|
+
from langchain_core.runnables import RunnableConfig
|
|
18
|
+
from langchain_core.tools import BaseTool
|
|
19
|
+
from typing_extensions import TypedDict
|
|
20
|
+
|
|
21
|
+
THOUGHT_PATTERN = r"Thought: ([^\n]*)"
|
|
22
|
+
ACTION_PATTERN = r"\n*(\d+)\. (\w+)\((.*)\)(\s*#\w+\n)?"
|
|
23
|
+
# $1 or ${1} -> 1
|
|
24
|
+
ID_PATTERN = r"\$\{?(\d+)\}?"
|
|
25
|
+
END_OF_PLAN = "<END_OF_PLAN>"
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Helper functions
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def _ast_parse(arg: str) -> Any:
|
|
32
|
+
try:
|
|
33
|
+
return ast.literal_eval(arg)
|
|
34
|
+
except: # noqa
|
|
35
|
+
return arg
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def _parse_llm_compiler_action_args(args: str, tool: Union[str, BaseTool]) -> list[Any]:
|
|
39
|
+
"""Parse arguments from a string."""
|
|
40
|
+
if args == "":
|
|
41
|
+
return ()
|
|
42
|
+
if isinstance(tool, str):
|
|
43
|
+
return ()
|
|
44
|
+
extracted_args = {}
|
|
45
|
+
tool_key = None
|
|
46
|
+
prev_idx = None
|
|
47
|
+
for key in tool.args.keys():
|
|
48
|
+
# Split if present
|
|
49
|
+
if f"{key}=" in args:
|
|
50
|
+
idx = args.index(f"{key}=")
|
|
51
|
+
if prev_idx is not None:
|
|
52
|
+
extracted_args[tool_key] = _ast_parse(
|
|
53
|
+
args[prev_idx:idx].strip().rstrip(",")
|
|
54
|
+
)
|
|
55
|
+
args = args.split(f"{key}=", 1)[1]
|
|
56
|
+
tool_key = key
|
|
57
|
+
prev_idx = 0
|
|
58
|
+
if prev_idx is not None:
|
|
59
|
+
extracted_args[tool_key] = _ast_parse(
|
|
60
|
+
args[prev_idx:].strip().rstrip(",").rstrip(")")
|
|
61
|
+
)
|
|
62
|
+
return extracted_args
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def default_dependency_rule(idx, args: str):
|
|
66
|
+
matches = re.findall(ID_PATTERN, args)
|
|
67
|
+
numbers = [int(match) for match in matches]
|
|
68
|
+
return idx in numbers
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def _get_dependencies_from_graph(
|
|
72
|
+
idx: int, tool_name: str, args: Dict[str, Any]
|
|
73
|
+
) -> dict[str, list[str]]:
|
|
74
|
+
"""Get dependencies from a graph."""
|
|
75
|
+
if tool_name == "join":
|
|
76
|
+
return list(range(1, idx))
|
|
77
|
+
return [i for i in range(1, idx) if default_dependency_rule(i, str(args))]
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class Task(TypedDict):
|
|
81
|
+
idx: int
|
|
82
|
+
tool: BaseTool
|
|
83
|
+
args: list
|
|
84
|
+
dependencies: Dict[str, list]
|
|
85
|
+
thought: Optional[str]
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
def instantiate_task(
|
|
89
|
+
tools: Sequence[BaseTool],
|
|
90
|
+
idx: int,
|
|
91
|
+
tool_name: str,
|
|
92
|
+
args: Union[str, Any],
|
|
93
|
+
thought: Optional[str] = None,
|
|
94
|
+
) -> Task:
|
|
95
|
+
if tool_name == "join":
|
|
96
|
+
tool = "join"
|
|
97
|
+
else:
|
|
98
|
+
try:
|
|
99
|
+
tool = tools[[tool.name for tool in tools].index(tool_name)]
|
|
100
|
+
except ValueError as e:
|
|
101
|
+
raise OutputParserException(f"Tool {tool_name} not found.") from e
|
|
102
|
+
tool_args = _parse_llm_compiler_action_args(args, tool)
|
|
103
|
+
dependencies = _get_dependencies_from_graph(idx, tool_name, tool_args)
|
|
104
|
+
|
|
105
|
+
return Task(
|
|
106
|
+
idx=idx,
|
|
107
|
+
tool=tool,
|
|
108
|
+
args=tool_args,
|
|
109
|
+
dependencies=dependencies,
|
|
110
|
+
thought=thought,
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
class LLMCompilerPlanParser(BaseTransformOutputParser[dict], extra="allow"):
|
|
115
|
+
"""Planning output parser."""
|
|
116
|
+
|
|
117
|
+
tools: List[BaseTool]
|
|
118
|
+
|
|
119
|
+
def _transform(self, input: Iterator[Union[str, BaseMessage]]) -> Iterator[Task]:
|
|
120
|
+
texts = []
|
|
121
|
+
# TODO: Cleanup tuple state tracking here.
|
|
122
|
+
thought = None
|
|
123
|
+
for chunk in input:
|
|
124
|
+
# Assume input is str. TODO: support vision/other formats
|
|
125
|
+
text = chunk if isinstance(chunk, str) else str(chunk.content)
|
|
126
|
+
for task, thought in self.ingest_token(text, texts, thought):
|
|
127
|
+
yield task
|
|
128
|
+
# Final possible task
|
|
129
|
+
if texts:
|
|
130
|
+
task, _ = self._parse_task("".join(texts), thought)
|
|
131
|
+
if task:
|
|
132
|
+
yield task
|
|
133
|
+
|
|
134
|
+
def parse(self, text: str) -> List[Task]:
|
|
135
|
+
return list(self._transform([text]))
|
|
136
|
+
|
|
137
|
+
def stream(
|
|
138
|
+
self,
|
|
139
|
+
input: str | BaseMessage,
|
|
140
|
+
config: RunnableConfig | None = None,
|
|
141
|
+
**kwargs: Any | None,
|
|
142
|
+
) -> Iterator[Task]:
|
|
143
|
+
yield from self.transform([input], config, **kwargs)
|
|
144
|
+
|
|
145
|
+
def ingest_token(
|
|
146
|
+
self, token: str, buffer: List[str], thought: Optional[str]
|
|
147
|
+
) -> Iterator[Tuple[Optional[Task], str]]:
|
|
148
|
+
buffer.append(token)
|
|
149
|
+
if "\n" in token:
|
|
150
|
+
buffer_ = "".join(buffer).split("\n")
|
|
151
|
+
suffix = buffer_[-1]
|
|
152
|
+
for line in buffer_[:-1]:
|
|
153
|
+
task, thought = self._parse_task(line, thought)
|
|
154
|
+
if task:
|
|
155
|
+
yield task, thought
|
|
156
|
+
buffer.clear()
|
|
157
|
+
buffer.append(suffix)
|
|
158
|
+
|
|
159
|
+
def _parse_task(self, line: str, thought: Optional[str] = None):
|
|
160
|
+
task = None
|
|
161
|
+
if match := re.match(THOUGHT_PATTERN, line):
|
|
162
|
+
# Optionally, action can be preceded by a thought
|
|
163
|
+
thought = match.group(1)
|
|
164
|
+
elif match := re.match(ACTION_PATTERN, line):
|
|
165
|
+
# if action is parsed, return the task, and clear the buffer
|
|
166
|
+
idx, tool_name, args, _ = match.groups()
|
|
167
|
+
idx = int(idx)
|
|
168
|
+
task = instantiate_task(
|
|
169
|
+
tools=self.tools,
|
|
170
|
+
idx=idx,
|
|
171
|
+
tool_name=tool_name,
|
|
172
|
+
args=args,
|
|
173
|
+
thought=thought,
|
|
174
|
+
)
|
|
175
|
+
thought = None
|
|
176
|
+
# Else it is just dropped
|
|
177
|
+
return task, thought
|