InfobipAPIWrapper#

class langchain_community.utilities.infobip.InfobipAPIWrapper[source]#

Bases: BaseModel

Wrapper for Infobip API for messaging.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param infobip_api_key: str | None = None#
param infobip_base_url: str | None = 'https://api.infobip.com'#
run(
body: str = '',
to: str = '',
sender: str = '',
subject: str = '',
channel: str = 'sms',
) str[source]#
Parameters:
  • body (str)

  • to (str)

  • sender (str)

  • subject (str)

  • channel (str)

Return type:

str

Examples using InfobipAPIWrapper