embed_string_type#
- langchain_experimental.rl_chain.helpers.embed_string_type(item: str | _Embed, model: Any, namespace: str | None = None) Dict[str, str | List[str]] [source]#
Embed a string or an _Embed object.
- Parameters:
item (str | _Embed)
model (Any)
namespace (str | None)
- Return type:
Dict[str, str | List[str]]