haystack-core-integrations
haystack-core-integrations copied to clipboard
feat: add prefixes to supported model patterns to allow cross region model ids
Related Issues
- fixes DC-2665
Proposed Changes:
Expands the regular expression used to select specific adapters by model id name to support models that are cross region. In general, model ids take on a us. or eu. prefix when used across regions.
How did you test it?
Notes for the reviewer
Checklist
- I have read the contributors guidelines and the code of conduct
- I have updated the related issue with new insights and changes
- I added unit tests and updated the docstrings
- I've used one of the conventional commit types for my PR title:
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:.
This recent contribution seems related: https://github.com/deepset-ai/haystack-core-integrations/pull/1120