Skip to content

[Docs] Update quick tour #574

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

Merged
merged 4 commits into from
Apr 9, 2025
Merged

Conversation

NielsRogge
Copy link
Contributor

@NielsRogge NielsRogge commented Apr 9, 2025

What does this PR do?

This PR updates the quick tour to include examples using the InferenceClient and OpenAI Python SDKs besides cURL.

To do:

  • I assume InferenceClient is only supported for the embed endpoint, not reranking or sequence classification? cc @Wauplin
  • verify code snippets

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Narsil Narsil merged commit be40b99 into huggingface:main Apr 9, 2025
1 of 2 checks passed
Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I assume InferenceClient is only supported for the embed endpoint, not reranking or sequence classification? cc

FYI InferenceClient.feature_extraction is for /embed and InferenceClient.sentence_similarity is for /similarity (but I don't think we want to document it). We don't have anything yet for reranking indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants