Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TruLens as namespace package (#1303)
* decouple core trulens packages * add root poetry files * merge utils with core * move feedback to feedback functions * feedback -> feedbacks * include compiled react components * fmt * fmt * feedbacks -> external for clarity * fix dashboard dependencies * fix test imports * update dev installs for llamaindex, langchain * core cleanup * fix import * move core to trulens.core and resolve import errors * fix import errors from trulens.core * fix imports in examples * fix imports in markdown * fix docstring imports * add test case generation as subpackage * add root imports and detach TruRails * add root imports and langchain dep * add get_feedback_result and fix docstrings * add nemo/trurails subpackage * factor out get_feedback_result * fmt * update test imports * fmt and rebuild * fmt * rename to trulens-testing * add trulens-testing * remove trulens explain * move trulens_eval to root dir * factor out rag_triad to external * add testing poetry lock * root packaging * move app types to trulens.core.apps to fix circular import * fix import paths * refactor core.app.app to core.app.base * add __version__ * update formatting * fmt w ruff * lint * simple lint fixes * move instrumentation framework extensions to ext.instrument * isort rules update matching existing config * split out providers and move instrument packages * fix imports and symlinks * linting and symlink fixes * import fixes and optional dependencies * readme/docs updates * rm old dev deps * update imports * update az pipelines * use system python * disable venv * move testing out of main package * use system python * fix config path * install testing utilities * fmt * remove old makefile * fix imports and pydantic serialization * move out component views to ext * slowly deprecate unused optional imports * add httpx * add httpx as optional * mark group as optional * Docs for TruLens as namespace package (#1306) * get docs to build * site fixes * drop utils * drop double intro * drop accidental copy * more fixes --------- Co-authored-by: Josh Reini <[email protected]> Co-authored-by: corey hu <[email protected]> * remove langchain dependency from feedback prompts * fix broken symlinks and types * factor out utils * restore serial * move testing to benchmark * bundle utils into core * mvoe trulens.testing to trulens.benchmark * rollout trulens.ext namespace to trulens.instrument and trulens.providers * fix symlinks * fmt * fix select imports * update makefile, testing, and mypy * update pipeline pytest commands * add lock creation * testing fixes * add __init__ * add ipywidgets and traitlets to deps * dashboard fmt * remove pinecone from unittests * misc fixes * update pipeline and testing to use makefile * add coverage tools * add poetry install * only install tests group * set langchain version * update langchain dep * allow ipywidgets in static tests * disable nemoguardrails for python3.12 * mod name as unnested * skip nemo on 3.12 * skip if > * use makefile for release pipeline * linting fixes * enable linting hook * pyproject formatter * update lock * add release process makefile targets * misc changes to vsc environment * use import paths for docs * replace docs references to trulens_eval * simplify docs paths where possible * add py.typed to subpackages to indicate inline typing * restore releases * add examples and autogen api reference on docs * update notebook pip installs * update dashboard build and fragment decorator * combine huggingface with huggingfacelocal * add __version__ to all packages * providers package name should match namespace * fix guardrails imports * relax on minor version instead of patch * fix OMP error and add package metadata * bump all subpackages to 1.0.0 * fmt * move optional test dependencies to new group * add snowflake as trulens-core extra * make BaseEmbedding optional * fix importlib failures on py3.9 * fix importlib handling under 3.10 * resolve langchain(core/community/openai) versions * fix docs reading notebook build and examples * report pip and python version in pipeline * fix pip version * add make command to publish to pypi and testpypi * truera -> snowflake references * set version 1.0.1a0 and allow prerelease deps * move psutils * update lockfiles * ignore build venvs and mypy * add migration guide * update dev guide and add toml extension * fix old code in litellm example * remove requirements from packaging * remove remaning trulens_eval references * dogfood dev and build fixes * update notebooks using optional provider * docs fixes * fix links * add meta.yaml * add page on uninstalling * update locks * remove App.select_context() * remove select_context impl * typos * add note about python version * Update README.md * make build path relative from recipe * pr fixes * fmt * fix confirm * clarify sync flag * add build section * templatize ci pipelines * try camelCase * split off optional test template * remove old reference * run precommit check on 3.11 * undo unnecessary quote typing * refresh locked versions of scipy and sklearn for benchmarking * pr fixes * spacing * include score range fix * prompt type to str change compatibility * move react source out of package and build components on every install * adapted tru benchmark experiment class to repackaging changes + updated notebook * fix build path * nodejs instructions * update download instructions * fix package data path --------- Co-authored-by: Josh Reini <[email protected]> Co-authored-by: Josh Reini <[email protected]> Co-authored-by: Daniel <[email protected]>
- Loading branch information