diff --git a/trulens_eval/examples/expositional/frameworks/llama_index/llama_index_agents.ipynb b/trulens_eval/examples/expositional/frameworks/llama_index/llama_index_agents.ipynb index 6b528b4c2..c1732f5fb 100644 --- a/trulens_eval/examples/expositional/frameworks/llama_index/llama_index_agents.ipynb +++ b/trulens_eval/examples/expositional/frameworks/llama_index/llama_index_agents.ipynb @@ -48,7 +48,7 @@ }, "outputs": [], "source": [ - "#! pip install trulens_eval llama_index==0.10.11 llama-index-tools-yelp==0.1.2 openai" + "#! pip install trulens_eval==0.24.0 llama_index==0.10.33 llama-index-tools-yelp==0.1.2 openai" ] }, { @@ -124,7 +124,7 @@ "source": [ "# Import and initialize our tool spec\n", "from llama_index.tools.yelp.base import YelpToolSpec\n", - "from llama_index.tools.tool_spec.load_and_search.base import LoadAndSearchToolSpec\n", + "from llama_index.core.tools.tool_spec.load_and_search.base import LoadAndSearchToolSpec\n", "\n", "# Add Yelp API key and client ID\n", "tool_spec = YelpToolSpec(\n", @@ -232,7 +232,7 @@ "source": [ "# imports required for tracking and evaluation\n", "from trulens_eval import Feedback, OpenAI, Tru, TruLlama, Select, OpenAI as fOpenAI\n", - "from trulens_eval.feedback import GroundTruthAgreement, Groundedness\n", + "from trulens_eval.feedback import GroundTruthAgreement\n", "\n", "tru = Tru()\n", "# tru.reset_database() # if needed" diff --git a/trulens_eval/trulens_eval/tests/groundedness_benchmark.ipynb b/trulens_eval/trulens_eval/tests/groundedness_benchmark.ipynb index 2df4de4fa..b731d6057 100644 --- a/trulens_eval/trulens_eval/tests/groundedness_benchmark.ipynb +++ b/trulens_eval/trulens_eval/tests/groundedness_benchmark.ipynb @@ -32,7 +32,7 @@ ], "source": [ "# Import groundedness feedback function\n", - "from trulens_eval.feedback import GroundTruthAgreement, Groundedness\n", + "from trulens_eval.feedback import GroundTruthAgreement\n", "from trulens_eval import TruBasicApp, Feedback, Tru, Select\n", "from test_cases import generate_summeval_groundedness_golden_set\n", "\n",