File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
content/manuals/ai/compose Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -349,33 +349,6 @@ models:
349349 - "--embeddings" # Required for embedding models
350350` ` `
351351
352- # # Alternative configuration with provider services
353-
354- > [!IMPORTANT]
355- >
356- > This approach is deprecated. Use the [`models` top-level element](#basic-model-definition) instead.
357-
358- You can also use the `provider` service type, which allows you to declare platform capabilities required by your application.
359- For AI models, you can use the `model` type to declare model dependencies.
360-
361- To define a model provider :
362-
363- ` ` ` yaml
364- services:
365- chat:
366- image: my-chat-app
367- depends_on:
368- - ai_runner
369-
370- ai_runner:
371- provider:
372- type: model
373- options:
374- model: ai/smollm2
375- context-size: 1024
376- runtime-flags: "--no-prefill-assistant"
377- ` ` `
378-
379352# # Reference
380353
381354- [`models` top-level element](/reference/compose-file/models.md)
You can’t perform that action at this time.
0 commit comments