Skip to content

Commit

Permalink
Release 0.18.0 readiness (#564)
Browse files Browse the repository at this point in the history
Co-authored-by: Shayak Sen <[email protected]>
  • Loading branch information
shayaks and Shayak Sen authored Nov 16, 2023
1 parent 555ebad commit 8f06579
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 15 deletions.
10 changes: 5 additions & 5 deletions docs/trulens_eval/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@ TruLens supports the evaluation of tracking for any LLM app framework. Choose a

**Langchain**

[langchain_quickstart.ipynb](https://github.com/truera/trulens/blob/releases/rc-trulens-eval-0.17.0/trulens_eval/examples/quickstart/langchain_quickstart.ipynb).
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/truera/trulens/blob/releases/rc-trulens-eval-0.17.0/trulens_eval/examples/quickstart/colab/langchain_quickstart_colab.ipynb)
[langchain_quickstart.ipynb](https://github.com/truera/trulens/blob/main/trulens_eval/examples/quickstart/langchain_quickstart.ipynb).
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/truera/trulens/blob/main/trulens_eval/examples/quickstart/colab/langchain_quickstart_colab.ipynb)

**Llama-Index**

[llama_index_quickstart.ipynb](https://github.com/truera/trulens/blob/releases/rc-trulens-eval-0.17.0/trulens_eval/examples/quickstart/llama_index_quickstart.ipynb).
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/truera/trulens/blob/releases/rc-trulens-eval-0.17.0/trulens_eval/examples/quickstart/colab/llama_index_quickstart_colab.ipynb)
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/truera/trulens/blob/main/trulens_eval/examples/quickstart/colab/llama_index_quickstart_colab.ipynb)

**Custom Text to Text Apps**

[text2text_quickstart.ipynb](https://github.com/truera/trulens/blob/releases/rc-trulens-eval-0.17.0/trulens_eval/examples/quickstart/text2text_quickstart.ipynb).
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/truera/trulens/blob/releases/rc-trulens-eval-0.17.0/trulens_eval/examples/quickstart/colab/text2text_quickstart_colab.ipynb)
[text2text_quickstart.ipynb](https://github.com/truera/trulens/blob/main/trulens_eval/examples/quickstart/text2text_quickstart.ipynb).
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/truera/trulens/blob/main/trulens_eval/examples/quickstart/colab/text2text_quickstart_colab.ipynb)

### 💡 Contributing

Expand Down
2 changes: 1 addition & 1 deletion trulens_eval/examples/quickstart/langchain_async.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"metadata": {},
"outputs": [],
"source": [
"# ! pip install trulens_eval==0.17.0 langchain>=0.0.263"
"# ! pip install trulens_eval==0.18.0 langchain>=0.0.336"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"metadata": {},
"outputs": [],
"source": [
"# ! pip install trulens_eval==0.17.0 langchain>=0.0.263"
"# ! pip install trulens_eval==0.18.0 langchain>=0.0.336"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metadata": {},
"outputs": [],
"source": [
"#! pip install trulens_eval==0.17.0 langchain==0.0.315 unstructured==0.10.23 chromadb==0.4.14"
"#! pip install trulens_eval==0.18.0 langchain==0.0.336 unstructured==0.10.23 chromadb==0.4.14"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion trulens_eval/examples/quickstart/llama_index_async.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"metadata": {},
"outputs": [],
"source": [
"# ! pip install trulens_eval==0.17.0 llama_index>=0.8.29post1 html2text>=2020.1.16"
"# ! pip install trulens_eval==0.17.0 llama_index>=0.8.29post1 html2text>=2020.1.16 openai<=0.28.1"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"metadata": {},
"outputs": [],
"source": [
"# pip install trulens-eval==0.17.0 llama_index>=0.8.29post1 html2text>=2020.1.16"
"# pip install trulens-eval==0.18.0 llama_index>=0.9.1 html2text>=2020.1.16"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion trulens_eval/examples/quickstart/pinecone_quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"metadata": {},
"outputs": [],
"source": [
"#! pip install trulens-eval==0.17.0 llama_index>=0.8.29post1 pinecone-client>=2.2.2 nltk>=3.8.1 html2text>=2020.1.16"
"#! pip install trulens-eval==0.18.0 llama_index>=0.9.1 pinecone-client>=2.2.2 nltk>=3.8.1 html2text>=2020.1.16"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion trulens_eval/examples/quickstart/prototype_evals.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"metadata": {},
"outputs": [],
"source": [
"#! pip install trulens-eval==0.17.0"
"#! pip install trulens-eval==0.18.0"
]
},
{
Expand Down
5 changes: 3 additions & 2 deletions trulens_eval/examples/quickstart/summarization_eval.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"metadata": {},
"outputs": [],
"source": [
"\"\"\"!pip install trulens_eval==0.17.0\n",
"\"\"\"!pip install trulens_eval==0.18.0\n",
" bert_score==0.3.13 \\\n",
" evaluate==0.4.0 \\\n",
" absl-py==1.4.0 \\\n",
Expand Down Expand Up @@ -143,7 +143,8 @@
" \n",
" @instrument\n",
" def summarize(self, dialog):\n",
" summary = openai.ChatCompletion.create(\n",
" client = openai.OpenAI()\n",
" summary = client.chat.completions.create(\n",
" model=\"gpt-3.5-turbo\",\n",
" messages=[\n",
" {\"role\": \"system\", \"content\": \"\"\"Summarize the given dialog into 1-2 sentences based on the following criteria: \n",
Expand Down
2 changes: 1 addition & 1 deletion trulens_eval/trulens_eval/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"""

__version__ = "0.17.0"
__version__ = "0.18.0"

from trulens_eval.feedback import Bedrock
from trulens_eval.feedback import Feedback
Expand Down

0 comments on commit 8f06579

Please sign in to comment.