Toggle Menu
Prev Up Next

# `langchain_core.utils.json_schema`.dereference_refs

langchain_core.utils.json_schema.dereference_refs(schema_obj: dict, *, full_schema: Optional[dict] = None, skip_keys: Optional[Sequence[str]] = None) → dict

  Try to substitute $refs in JSON Schema.

  Parameters

    - schema_obj (dict) –

    - full_schema (Optional[dict]) –

    - skip_keys (Optional[Sequence[str]]) –

  Return type

    dict