_get_ls_params() — langchain Function Reference
Architecture documentation for the _get_ls_params() function in azure.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 83c956da_afae_0f1d_919b_4acd20622a4d["_get_ls_params()"] fc5b1a22_84a3_78a2_1034_9e66c56cf562["AzureOpenAI"] 83c956da_afae_0f1d_919b_4acd20622a4d -->|defined in| fc5b1a22_84a3_78a2_1034_9e66c56cf562 style 83c956da_afae_0f1d_919b_4acd20622a4d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/langchain_openai/llms/azure.py lines 210–219
def _get_ls_params(
self, stop: list[str] | None = None, **kwargs: Any
) -> LangSmithParams:
"""Get standard params for tracing."""
params = super()._get_ls_params(stop=stop, **kwargs)
invocation_params = self._invocation_params
params["ls_provider"] = "azure"
if model_name := invocation_params.get("model"):
params["ls_model_name"] = model_name
return params
Domain
Subdomains
Source
Frequently Asked Questions
What does _get_ls_params() do?
_get_ls_params() is a function in the langchain codebase, defined in libs/partners/openai/langchain_openai/llms/azure.py.
Where is _get_ls_params() defined?
_get_ls_params() is defined in libs/partners/openai/langchain_openai/llms/azure.py at line 210.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free