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 error link #634

Open
wants to merge 3 commits into
base: mainline
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion src/marqo/s2_inference/s2_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def _validate_model_properties(model_name: str, model_properties: dict) -> dict:
if key not in model_properties:
raise InvalidModelPropertiesError(f"model_properties has missing key '{key}'."
f"please update your model properties with required key `{key}`"
f"check `https://docs.marqo.ai/1.4.0/Models-Reference/dense_retrieval/` for more info.")
f"check `https://docs.marqo.ai/1.4.0/Guides/Models-Reference/dense_retrieval/` for more info.")

else:
model_properties = get_model_properties_from_registry(model_name)
Expand Down
4 changes: 2 additions & 2 deletions src/marqo/tensor_search/tensor_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ def add_documents(config: Config, add_docs_params: AddDocsParams):
s2_inference.ModelDownloadError) as model_error:
raise errors.BadRequestError(
message=f'Problem vectorising query. Reason: {str(model_error)}',
link="https://marqo.pages.dev/latest/Models-Reference/dense_retrieval/"
link="https://docs.marqo.ai/1.4.0/Guides/Models-Reference/dense_retrieval/"
)
except s2_inference_errors.S2InferenceError:
document_is_valid = False
Expand Down Expand Up @@ -1553,7 +1553,7 @@ def vectorise_jobs(jobs: List[VectorisedJobs]) -> Dict[JHash, Dict[str, List[flo
s2_inference.ModelDownloadError) as model_error:
raise errors.BadRequestError(
message=f'Problem vectorising query. Reason: {str(model_error)}',
link="https://marqo.pages.dev/latest/Models-Reference/dense_retrieval/"
link="https://docs.marqo.ai/1.4.0/Guides/Models-Reference/dense_retrieval"
)

except s2_inference_errors.S2InferenceError as e:
Expand Down
Loading