mirror of
https://github.com/langchain-ai/learning-langchain.git
synced 2026-07-01 16:06:32 -04:00
fix: update root README.md
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,21 @@
|
||||
"""Define the configurable parameters for the agent."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass, field, fields
|
||||
from typing import Annotated, Any, Literal, Optional, Type, TypeVar
|
||||
|
||||
from langchain_core.runnables import RunnableConfig, ensure_config
|
||||
from shared.configuration import BaseConfiguration
|
||||
|
||||
|
||||
@dataclass(kw_only=True)
|
||||
class Configuration(BaseConfiguration):
|
||||
"""The configuration for the agent."""
|
||||
|
||||
query_model: Annotated[str, {"__template_metadata__": {"kind": "llm"}}] = field(
|
||||
default="openai/gpt-4o",
|
||||
metadata={
|
||||
"description": "The language model used for processing and refining queries. Should be in the form: provider/model-name."
|
||||
},
|
||||
)
|
||||
Reference in New Issue
Block a user