Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add prompt_name to feature-extraction + update types #2363

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Jul 1, 2024

Related to huggingface/huggingface.js#781.

This PR adds prompt_name to InferenceClient.feature_extraction which was introduced in huggingface/text-embeddings-inference#312. I also took the opportunity to add truncation_direction.

@Wauplin
Copy link
Contributor Author

Wauplin commented Jul 2, 2024

Thanks for the review!

@Wauplin Wauplin merged commit 15b7fcd into main Jul 2, 2024
16 of 17 checks passed
@Wauplin Wauplin deleted the update-feature-extraction branch July 2, 2024 12:10
MoritzLaurer pushed a commit to MoritzLaurer/huggingface_hub that referenced this pull request Jul 3, 2024
)

* Add  to feature-extraction + update types

* add truncation_direction to feature-extraction
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants