chore: update Sphinx links to markdown (#33386)

This commit is contained in:
Mason Daugherty
2025-10-09 11:54:14 -04:00
committed by GitHub
parent 057ac361ef
commit 3576e690fa
31 changed files with 105 additions and 107 deletions

View File

@@ -693,11 +693,11 @@ class ChatFireworks(BaseChatModel):
method: The method for steering model generation, one of:
- ``'function_calling'``:
Uses Fireworks's `tool-calling features <https://docs.fireworks.ai/guides/function-calling>`_.
Uses Fireworks's [tool-calling features](https://docs.fireworks.ai/guides/function-calling).
- ``'json_schema'``:
Uses Fireworks's `structured output feature <https://docs.fireworks.ai/structured-responses/structured-response-formatting>`_.
Uses Fireworks's [structured output feature](https://docs.fireworks.ai/structured-responses/structured-response-formatting).
- ``'json_mode'``:
Uses Fireworks's `JSON mode feature <https://docs.fireworks.ai/structured-responses/structured-response-formatting>`_.
Uses Fireworks's [JSON mode feature](https://docs.fireworks.ai/structured-responses/structured-response-formatting).
!!! warning "Behavior changed in 0.2.8"
Added support for ``'json_schema'``.

View File

@@ -24,11 +24,11 @@ logger = logging.getLogger(__name__)
class Fireworks(LLM):
"""LLM models from `Fireworks`.
To use, you'll need an `API key <https://fireworks.ai>`__. This can be passed in as
To use, you'll need an [API key](https://fireworks.ai). This can be passed in as
init param ``fireworks_api_key`` or set as environment variable
``FIREWORKS_API_KEY``.
`Fireworks AI API reference <https://readme.fireworks.ai/>`__
[Fireworks AI API reference](https://readme.fireworks.ai/)
Example:
@@ -55,7 +55,7 @@ class Fireworks(LLM):
Automatically read from env variable ``FIREWORKS_API_KEY`` if not provided.
"""
model: str
"""Model name. `(Available models) <https://readme.fireworks.ai/>`__"""
"""Model name. [(Available models)](https://readme.fireworks.ai/)"""
temperature: float | None = None
"""Model temperature."""
top_p: float | None = None