Skip to content

Commit

Permalink
Add chat_completion and remove conversational from Inference guide (
Browse files Browse the repository at this point in the history
#2215)

* Add chat_completion and remove conversational from docs

* Update docs/source/en/guides/inference.md

Co-authored-by: Julien Chaumond <julien@huggingface.co>

---------

Co-authored-by: Julien Chaumond <julien@huggingface.co>
  • Loading branch information
Wauplin and julien-c authored Apr 11, 2024
1 parent 43ceaa4 commit 855ee99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/en/guides/inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ has a simple API that supports the most common tasks. Here is a list of the curr
| | [Zero-Shot-Image-Classification](https://huggingface.co/tasks/zero-shot-image-classification) || [`~InferenceClient.zero_shot_image_classification`] |
| Multimodal | [Documentation Question Answering](https://huggingface.co/tasks/document-question-answering) | ✅ | [`~InferenceClient.document_question_answering`]
| | [Visual Question Answering](https://huggingface.co/tasks/visual-question-answering) || [`~InferenceClient.visual_question_answering`] |
| NLP | [Conversational](https://huggingface.co/tasks/conversational) || [`~InferenceClient.conversational`] |
| NLP | Conversational | | *deprecated*, use Chat Completion |
| | [Chat Completion](https://huggingface.co/tasks/text-generation) || [`~InferenceClient.chat_completion`] |
| | [Feature Extraction](https://huggingface.co/tasks/feature-extraction) || [`~InferenceClient.feature_extraction`] |
| | [Fill Mask](https://huggingface.co/tasks/fill-mask) || [`~InferenceClient.fill_mask`] |
| | [Question Answering](https://huggingface.co/tasks/question-answering) | ✅ | [`~InferenceClient.question_answering`]
Expand Down

0 comments on commit 855ee99

Please sign in to comment.