mirror of
https://github.com/docker/docs.git
synced 2026-03-27 06:18:55 +07:00
fix: fix vale errors (#23218)
<!--Delete sections as needed --> ## Description Fix Vale and linting errors in AI section.
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
extends: capitalization
|
||||
message: "Use sentence case for headings: '%s'."
|
||||
level: warning
|
||||
scope: heading
|
||||
match: $sentence
|
||||
threshold: 0.4
|
||||
indicators:
|
||||
- ":"
|
||||
@@ -37,7 +37,7 @@ denylist
|
||||
deprovisioning
|
||||
deserialization
|
||||
deserialize
|
||||
Dev
|
||||
[Dd]ev
|
||||
Dev Environments?
|
||||
Dex
|
||||
displayName
|
||||
|
||||
@@ -134,8 +134,8 @@ models:
|
||||
```
|
||||
|
||||
With short syntax, the platform automatically generates environment variables based on the model name:
|
||||
- `LLM_URL` - URL to access the llm model
|
||||
- `LLM_MODEL` - Model identifier for the llm model
|
||||
- `LLM_URL` - URL to access the LLM model
|
||||
- `LLM_MODEL` - Model identifier for the LLM model
|
||||
- `EMBEDDING_MODEL_URL` - URL to access the embedding-model
|
||||
- `EMBEDDING_MODEL_MODEL` - Model identifier for the embedding-model
|
||||
|
||||
|
||||
@@ -133,11 +133,13 @@ Interact with Docker containers, images, and volumes.
|
||||
|
||||
#### Container management
|
||||
|
||||
| Name | Description |
|
||||
|---------------|----------------------------------------|
|
||||
| `docker` | Access the Docker CLI |
|
||||
| `list_builds` | List builds in the Docker daemon |
|
||||
| `build_logs` | Show build logs |
|
||||
<!-- vale off -->
|
||||
|
||||
| Name | Description |
|
||||
|---------------|----------------------------------|
|
||||
| `docker` | Access the Docker CLI |
|
||||
| `list_builds` | List builds in the Docker daemon |
|
||||
| `build_logs` | Show build logs |
|
||||
|
||||
#### Volume management
|
||||
|
||||
|
||||
@@ -224,7 +224,7 @@ Tools to interact with your Docker repositories and discover content on Docker H
|
||||
| `create-repository` | Creates a new repository |
|
||||
| `docker-hardened-images` | Lists available [Docker Hardened Images](https://www.docker.com/products/hardened-images/) in specified namespace |
|
||||
| `get-namespaces` | Get organizations/namespaces for a user |
|
||||
| `get-repository-dockerfile` | Gets dockerfile for repository |
|
||||
| `get-repository-dockerfile` | Gets Dockerfile for repository |
|
||||
| `get-repository-info` | Gets repository info |
|
||||
| `list-repositories-by-namespace` | Lists repositories under namespace |
|
||||
| `list-repository-tags` | List repository tags |
|
||||
|
||||
@@ -219,6 +219,7 @@ Use the [`docker model run` command](/reference/cli/docker/model/run/).
|
||||
## Troubleshooting
|
||||
|
||||
### Display the logs
|
||||
|
||||
To troubleshoot issues, display the logs:
|
||||
|
||||
{{< tabs group="release" >}}
|
||||
@@ -236,7 +237,7 @@ Use the [`docker model logs` command](/reference/cli/docker/model/logs/).
|
||||
{{< /tab >}}
|
||||
{{< /tabs >}}
|
||||
|
||||
### Inpect requests and responses
|
||||
### Inspect requests and responses
|
||||
|
||||
Inspecting requests and responses helps you diagnose model-related issues.
|
||||
For example, you can evaluate context usage to verify you stay within the model's context
|
||||
@@ -564,7 +565,7 @@ POST /engines/llama.cpp/v1/completions
|
||||
POST /engines/llama.cpp/v1/embeddings
|
||||
```
|
||||
|
||||
To call these endpoints via a Unix socket (`/var/run/docker.sock`), prefix their path with
|
||||
To call these endpoints via a Unix socket (`/var/run/docker.sock`), prefix their path
|
||||
with `/exp/vDD4.40`.
|
||||
|
||||
> [!NOTE]
|
||||
|
||||
Reference in New Issue
Block a user