mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
chore: attribute package change versions (#33854)
Needed to disambiguate for within inherited docs
This commit is contained in:
@@ -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`"
|
||||
|
||||
@@ -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"
|
||||
|
||||
"""
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user