Commit f26501

2024-08-22 18:33:02 admin: -/-
chat api.md ..
@@ 2,30 2,6 @@
This API provides access to a variety of large language models (LLMs) for chat completions, token counting, and moderation.
- ## Table of Contents
-
- * [Authentication](#authentication)
- * [Endpoints](#endpoints)
- * [/models - List Available Models](#models)
- * [/chat/completions - Generate Chat Completions](#chatcompletions)
- * [Request Body](#chatcompletions-request-body)
- * [Non-Streaming Response](#chatcompletions-non-streaming-response)
- * [Streaming Response](#chatcompletions-streaming-response)
- * [/tokens - Count Tokens](#tokens)
- * [/credits - Check Remaining Credits](#credits)
- * [/moderate - Moderate Text](#moderate)
- * [Supported Models](#supported-models)
- * [Usage Examples](#usage-examples)
- * [Python](#python)
- * [Non-Streaming Example](#usage-examples-python-non-streaming-example)
- * [Streaming Example](#usage-examples-python-streaming-example)
- * [C#](#c)
- * [Non-Streaming Example](#usage-examples-c-non-streaming-example)
- * [Streaming Example](#usage-examples-c-streaming-example)
- * [Node.js](#nodejs)
- * [Non-Streaming Example](#usage-examples-nodejs-non-streaming-example)
- * [Streaming Example](#usage-examples-nodejs-streaming-example)
-
## Authentication
You need an API key to use this API. To obtain an API key, please contact `[email protected]`.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9