doc: Add API reference

This commit is contained in:
Hugo Larcher 2024-07-15 18:16:22 +02:00 committed by Nicolas Patry
parent fc2d1134b8
commit 5e70943ed0
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863
2 changed files with 7 additions and 0 deletions

View File

@ -55,6 +55,8 @@
title: Messages API
- local: reference/metrics
title: Exported Metrics
- local: reference/api_reference
title: API Reference
title: Reference
- sections:
- local: conceptual/streaming

View File

@ -0,0 +1,5 @@
# HTTP API Reference
The HTTP API is a RESTful API that allows you to interact with the text-generation-inference component. Two endpoints are available:
* Text Generation Inference [custom API](https://huggingface.github.io/text-generation-inference/)
* OpenAI's [Messages API](https://huggingface.co/docs/text-generation-inference/messages_api)