Skip to content

Commit

Permalink
readd redirects (#972)
Browse files Browse the repository at this point in the history
* uncomment redirects and add required plugin to docs_requirements

* move redirects map

* redirects for quickstart links

* redirects for quickstart links

* hack for ipynb old links

* update old cc links

* remove extra cells, add ref to nemo in overview

* add missing tiktoken requirement in lc quickstart

---------

Co-authored-by: Josh Reini <60949774+joshreini1@users.noreply.github.com>
Co-authored-by: Josh Reini <joshreini1@gmail.com>
  • Loading branch information
3 people authored Mar 8, 2024
1 parent 9654f2b commit dafabc6
Showing 7 changed files with 146 additions and 161 deletions.
8 changes: 5 additions & 3 deletions docs/docs_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Packages required for building documentation pages.

mkdocs >= 1.5.3
mkdocs-material >= 9.5.8
mkdocstrings-python >= 1.8.0
mkdocs-include-markdown-plugin >= 6.0.4
mkdocstrings >= 0.24.0

# mkdocs plugins
mkdocs-material >= 9.5.8
mkdocs-jupyter >= 0.24.6
mkdocs-redirects >= 1.2.1
mkdocs-include-markdown-plugin >= 6.0.4

python-markdown-math >= 0.8
markdown-include >= 0.8.1
6 changes: 1 addition & 5 deletions docs/trulens_eval/tracking/instrumentation/index.ipynb
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@
" more](langchain).\n",
"* TruLlama instruments Llama-Index apps. [Read\n",
" more](llama_index).\n",
"* TruRails instruments NVIDIA Nemo Guardrails apps. [Read more](nemo).\n",
"\n",
"In any framework you can track (and evaluate) the intputs, outputs and\n",
"instrumented internals, along with a wide variety of usage metrics and metadata,\n",
@@ -194,11 +195,6 @@
"For frameworks with deep integrations, TruLens can expose additional internals\n",
"of the application for tracking. See TruChain and TruLlama for more details."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": []
}
],
"metadata": {
7 changes: 0 additions & 7 deletions docs/trulens_eval/tracking/instrumentation/langchain.ipynb
Original file line number Diff line number Diff line change
@@ -345,13 +345,6 @@
"source": [
"async_tc_recorder.print_instrumented()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
7 changes: 0 additions & 7 deletions docs/trulens_eval/tracking/instrumentation/llama_index.ipynb
Original file line number Diff line number Diff line change
@@ -442,13 +442,6 @@
"source": [
"tru_chat_engine_recorder.print_instrumented()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
7 changes: 0 additions & 7 deletions docs/trulens_eval/tracking/instrumentation/nemo.ipynb
Original file line number Diff line number Diff line change
@@ -346,13 +346,6 @@
"source": [
"tru_recorder.print_instrumented()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
268 changes: 138 additions & 130 deletions mkdocs.yml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions trulens_eval/examples/quickstart/langchain_quickstart.ipynb
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@
"metadata": {},
"outputs": [],
"source": [
"# ! pip install trulens_eval openai langchain chromadb langchainhub bs4"
"# ! pip install trulens_eval openai langchain chromadb langchainhub bs4 tiktoken"
]
},
{
@@ -437,7 +437,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.7"
"version": "3.11.5"
},
"vscode": {
"interpreter": {

0 comments on commit dafabc6

Please sign in to comment.