Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a few more old groundedness references + llamaindex agent toolspec import #1161

Merged
merged 2 commits into from
May 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
{
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down