Toggle Menu
Prev Up Next

# `langchain_experimental.rl_chain.base`.embed_string_type

langchain_experimental.rl_chain.base.embed_string_type(item: Union[str, _Embed], model: Any, namespace: Optional[str] = None) → Dict[str, Union[str, List[str]]]

  Embed a string or an _Embed object.

  Parameters

    - item (Union[str, _Embed]) –

    - model (Any) –

    - namespace (Optional[str]) –

  Return type

    Dict[str, Union[str, List[str]]]