Toggle Menu
Prev Up Next

# `langchain_experimental.rl_chain.base`.Embedder

class langchain_experimental.rl_chain.base.Embedder(*args: Any, **kwargs: Any)

  Abstract class to represent an embedder.

  Methods

  `__init__`(*args, **kwargs) |
  `format`(event) |

  Parameters

    - args (Any) –

    - kwargs (Any) –

  __init__(*args: Any, **kwargs: Any)
    Parameters

      - args (Any) –

      - kwargs (Any) –

  abstract format(event: TEvent) → str
    Parameters

      event (TEvent) –

    Return type

      str