mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
style: address Sphinx double-backtick snippet syntax (#33389)
This commit is contained in:
@@ -69,16 +69,16 @@ class NomicEmbeddings(Embeddings):
|
||||
|
||||
Args:
|
||||
model: model name
|
||||
nomic_api_key: optionally, set the Nomic API key. Uses the ``NOMIC_API_KEY``
|
||||
nomic_api_key: optionally, set the Nomic API key. Uses the `NOMIC_API_KEY`
|
||||
environment variable by default.
|
||||
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'``.
|
||||
inference_mode: How to generate embeddings. One of `'remote'`, `'local'`
|
||||
(Embed4All), or `'dynamic'` (automatic). Defaults to `'remote'`.
|
||||
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.
|
||||
Typically defaults to ``'cpu'``. Do not use on macOS.
|
||||
`'cpu'`, `'gpu'`, `'nvidia'`, `'amd'`, or a specific device
|
||||
name. See the docstring for `GPT4All.__init__` for more info.
|
||||
Typically defaults to `'cpu'`. Do not use on macOS.
|
||||
vision_model: The vision model to use for image embeddings.
|
||||
|
||||
"""
|
||||
@@ -96,8 +96,8 @@ class NomicEmbeddings(Embeddings):
|
||||
|
||||
Args:
|
||||
texts: list of texts to embed
|
||||
task_type: the task type to use when embedding. One of ``'search_query'``,
|
||||
``'search_document'``, ``'classification'``, ``'clustering'``
|
||||
task_type: the task type to use when embedding. One of `'search_query'`,
|
||||
`'search_document'`, `'classification'`, `'clustering'`
|
||||
|
||||
"""
|
||||
output = embed.text(
|
||||
|
||||
Reference in New Issue
Block a user