chore: attribute package change versions (#33854)

Needed to disambiguate for within inherited docs
This commit is contained in:
Mason Daugherty
2025-11-06 16:57:30 -05:00
committed by GitHub
parent 9a09ed0659
commit d40e340479
30 changed files with 228 additions and 169 deletions

View File

@@ -543,7 +543,7 @@ class ChatOllama(BaseChatModel):
validate_model_on_init: bool = False
"""Whether to validate the model exists in Ollama locally on initialization.
!!! version-added "Added in version 0.3.4"
!!! version-added "Added in `langchain-ollama` 0.3.4"
"""
mirostat: int | None = None
@@ -1309,10 +1309,10 @@ class ChatOllama(BaseChatModel):
depends on the `schema` as described above.
- `'parsing_error'`: `BaseException | None`
!!! warning "Behavior changed in 0.2.2"
!!! warning "Behavior changed in `langchain-ollama` 0.2.2"
Added support for structured output API via `format` parameter.
!!! warning "Behavior changed in 0.3.0"
!!! warning "Behavior changed in `langchain-ollama` 0.3.0"
Updated default `method` to `'json_schema'`.
??? note "Example: `schema=Pydantic` class, `method='json_schema'`, `include_raw=False`"

View File

@@ -123,7 +123,7 @@ class OllamaEmbeddings(BaseModel, Embeddings):
validate_model_on_init: bool = False
"""Whether to validate the model exists in ollama locally on initialization.
!!! version-added "Added in version 0.3.4"
!!! version-added "Added in `langchain-ollama` 0.3.4"
"""

View File

@@ -126,7 +126,7 @@ class OllamaLLM(BaseLLM):
validate_model_on_init: bool = False
"""Whether to validate the model exists in ollama locally on initialization.
!!! version-added "Added in version 0.3.4"
!!! version-added "Added in `langchain-ollama` 0.3.4"
"""
mirostat: int | None = None