Skip to content

feat: move HF API components to core integrations#3403

Open
anakin87 wants to merge 2 commits into
mainfrom
hfapi-integration
Open

feat: move HF API components to core integrations#3403
anakin87 wants to merge 2 commits into
mainfrom
hfapi-integration

Conversation

@anakin87
Copy link
Copy Markdown
Member

@anakin87 anakin87 commented Jun 4, 2026

Related Issues

Proposed Changes:

  • move HF API components (generator is excluded)
  • also move utilities only used by these components

How did you test it?

CI

Notes for the reviewer

No need to review the code in depth: I basically ported it from Haystack and updated imports

Checklist

@github-actions github-actions Bot added topic:CI type:documentation Improvements or additions to documentation labels Jun 4, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Coverage report (huggingface_api)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  integrations/huggingface_api/src/haystack_integrations/components/common/huggingface_api
  utils.py 104-109
  integrations/huggingface_api/src/haystack_integrations/components/embedders/huggingface_api
  document_embedder.py 176-177, 339-343, 368-372
  text_embedder.py 140-141, 256, 258
  integrations/huggingface_api/src/haystack_integrations/components/generators/huggingface_api/chat
  chat_generator.py 187, 419-420, 487, 586-587, 640, 711
Project Total  

This report was generated by python-coverage-comment-action

@anakin87 anakin87 marked this pull request as ready for review June 4, 2026 10:24
@anakin87 anakin87 requested a review from a team as a code owner June 4, 2026 10:24
@anakin87 anakin87 requested review from julian-risch and removed request for a team June 4, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic:CI type:documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant