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

ci: stub out open AI key during CI to avoid embedding model downloads in llama_index #1661

Merged
merged 4 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from 2 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
1 change: 1 addition & 0 deletions .github/workflows/python-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ concurrency:

env:
pip-version: 23.1.2
PYTORCH_MPS_HIGH_WATERMARK_RATIO: 0.0 # disable memory warnings

jobs:
lint:
Expand Down
6 changes: 3 additions & 3 deletions src/phoenix/trace/evaluation_conventions.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
EVAL_DOCUMENTS_PRECISION = "eval.documents_precision"
"""
The precision of a retriever.
This is the proportion (expressed as a value between 0 and 1) of relevant documents over the total
This is the proportion (expressed as a value between 0 and 1) of relevant documents over the total.
"""

EVAL_DOCUMENTS_PRECISION_AT_K_TEMPLATE = "eval.documents_precision_at_{k}"
"""
The prefix given to an evaluation metric that captures the precision of a
retriever up to K. E.x. you would have eval.documents_precision_at_1,
eval.documents_precision_at_2, etc. This value
would be computed on top of the document_relevancy attribute of each document.
eval.documents_precision_at_2, etc. This value would be computed on top of the
document_relevancy attribute of each document.
"""
Loading