Toggle Menu
Prev Up Next

# `langchain_community.llms.aviary`.AviaryBackend

class langchain_community.llms.aviary.AviaryBackend(backend_url: str, bearer: str)

  Aviary backend.

  Parameters

    - backend_url (str) –

    - bearer (str) –

  backend_url

    The URL for the Aviary backend.

    Type

      str

  bearer

    The bearer token for the Aviary backend.

    Type

      str

  Attributes

  `backend_url` |
  `bearer` |

  Methods

  `__init__`(backend_url, bearer) |
  `from_env`() |

  __init__(backend_url: str, bearer: str) → None
    Parameters

      - backend_url (str) –

      - bearer (str) –

    Return type

      None

  classmethod from_env() → AviaryBackend
    Return type

      AviaryBackend