style: more work for refs (#33508)

Largely:
- Remove explicit `"Default is x"` since new refs show default inferred
from sig
- Inline code (useful for eventual parsing)
- Fix code block rendering (indentations)
This commit is contained in:
Mason Daugherty
2025-10-15 18:46:55 -04:00
committed by GitHub
parent d0f8f00e7e
commit 26e0a00c4c
162 changed files with 1017 additions and 1135 deletions

View File

@@ -72,7 +72,7 @@ class NomicEmbeddings(Embeddings):
dimensionality: The embedding dimension, for use with Matryoshka-capable
models. Defaults to full-size.
inference_mode: How to generate embeddings. One of `'remote'`, `'local'`
(Embed4All), or `'dynamic'` (automatic). Defaults to `'remote'`.
(Embed4All), or `'dynamic'` (automatic).
device: The device to use for local embeddings. Choices include
`'cpu'`, `'gpu'`, `'nvidia'`, `'amd'`, or a specific device
name. See the docstring for `GPT4All.__init__` for more info.