Wrappers

Wrappers, in the context of verified sources, refer to tools or utilities that provide a simplified and convenient way to interact with certain functionalities or APIs.

SQLDatabase

ZBrain makes it possible to interact with SQL databases using natural language. They enable use cases such as:

  • Generating queries that will be run based on natural language questions.

  • Creating chatbots that can answer questions based on database data.

Parameters:

  • database_uri: Path to the desired database.

TextRequestsWrapper

TextRequestsWrappers are tools that provide a convenient way to interact with web APIs and fetch data from a specified URL. These wrappers are typically built on top of the Python Requests module. They simplify the process of making HTTP requests and handling responses.

Parameter:

  • headers: Determines the additional information about the request or response in key-value pairs, such as the content type of the request body and the authentication token. Defaults to {'Authorization': 'Bearer <token>'}.

Last updated