Closed Wauplin closed 1 day ago
Related to https://github.com/huggingface/huggingface.js/pull/781.
This PR adds prompt_name to InferenceClient.feature_extraction which was introduced in https://github.com/huggingface/text-embeddings-inference/pull/312. I also took the opportunity to add truncation_direction.
prompt_name
InferenceClient.feature_extraction
truncation_direction
Thanks for the review!
Related to https://github.com/huggingface/huggingface.js/pull/781.
This PR adds
prompt_name
toInferenceClient.feature_extraction
which was introduced in https://github.com/huggingface/text-embeddings-inference/pull/312. I also took the opportunity to addtruncation_direction
.