-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix CI -> GH_PAT and list_contexts issue
* add instructor for enforcing json llm outputs in deepeval * silent deepeval outputs * add json deepeval-cache parser * set two deepeval metrics as notimplemented -protobuf error Signed-off-by: Jack Luar <[email protected]>
- Loading branch information
Showing
10 changed files
with
103 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76f12a6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
===================================
==> Dataset: EDA Corpus
==> Running tests for agent-retriever
/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/.venv/lib/python3.12/site-packages/deepeval/init.py:49: UserWarning: You are using deepeval version 1.4.9, however version 1.5.0 is available. You should consider upgrading via the "pip install --upgrade deepeval" command.
warnings.warn(
Fetching 2 files: 0%| | 0/2 [00:00<?, ?it/s]
Fetching 2 files: 50%|█████ | 1/2 [00:00<00:00, 6.96it/s]
Fetching 2 files: 100%|██████████| 2/2 [00:00<00:00, 13.88it/s]
Traceback (most recent call last):
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/.venv/lib/python3.12/site-packages/google/cloud/aiplatform/initializer.py", line 356, in project
self._set_project_as_env_var_or_google_auth_default()
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/.venv/lib/python3.12/site-packages/google/cloud/aiplatform/initializer.py", line 112, in _set_project_as_env_var_or_google_auth_default
credentials, project = google.auth.default()
^^^^^^^^^^^^^^^^^^^^^
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/.venv/lib/python3.12/site-packages/google/auth/_default.py", line 657, in default
credentials, project_id = checker()
^^^^^^^^^
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/.venv/lib/python3.12/site-packages/google/auth/_default.py", line 650, in
lambda: _get_explicit_environ_credentials(quota_project_id=quota_project_id),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/.venv/lib/python3.12/site-packages/google/auth/_default.py", line 270, in _get_explicit_environ_credentials
credentials, project_id = load_credentials_from_file(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/.venv/lib/python3.12/site-packages/google/auth/_default.py", line 114, in load_credentials_from_file
raise exceptions.DefaultCredentialsError(
google.auth.exceptions.DefaultCredentialsError: File src/secret.json was not found.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/auto_evaluation/eval_main.py", line 145, in
harness = EvaluationHarness(args.base_url, args.dataset, args.reranker_base_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/auto_evaluation/eval_main.py", line 45, in init
self.eval_model = GoogleVertexAILangChain(model_name="gemini-1.5-pro-002")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/auto_evaluation/src/models/vertex_ai.py", line 24, in init
super().init(model_name, *args, **kwargs)
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/.venv/lib/python3.12/site-packages/deepeval/models/base_model.py", line 35, in init
self.model = self.load_model(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/auto_evaluation/src/models/vertex_ai.py", line 37, in load_model
return GenerativeModel(
^^^^^^^^^^^^^^^^
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/.venv/lib/python3.12/site-packages/vertexai/generative_models/_generative_models.py", line 353, in init
project = aiplatform_initializer.global_config.project
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luarss/actions-runner/_work/ORAssistant/ORAssistant/evaluation/.venv/lib/python3.12/site-packages/google/cloud/aiplatform/initializer.py", line 359, in project
raise GoogleAuthError(project_not_found_exception_str) from exc
google.auth.exceptions.GoogleAuthError: Unable to find your project. Please provide a project ID by: