Skip to main content

Meta AI API Wrapper to interact with the Meta AI API

Project description

MetaAI

MetaAI is a Python library designed to interact with Meta's AI APIs. It encapsulates the complexities of authentication and communication with the APIs, providing a straightforward interface for sending queries and receiving responses.

With this you can easily prompt the AI with a message and get a response, directly from your Python code. NO API KEY REQUIRED

Meta AI is connected to the internet, so you will be able to get the latest real-time responses from the AI. (powered by Bing)

Usage

  1. Download:

    pip install meta-ai-api
    
  2. Initialization:

    from meta_ai_api import MetaAI
    
    if __name__ == "__main__":
        ai = MetaAI()
        response = ai.prompt(message="Whats the weather in San Francisco today? And what is the date?")
        print(response)
    
        # Today's weather in San Francisco, CA, on Thursday, April 18, 2024, is mostly sunny and not as warm, with a high of 71 degrees Fahrenheit and a low of 51 degrees Fahrenheit ¹. The wind is coming from the west-southwest direction at a speed between 8 and 10 miles per hour, and the chance of precipitation is 25% ².
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meta_ai_api-1.0.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

meta_ai_api-1.0.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file meta_ai_api-1.0.2.tar.gz.

File metadata

  • Download URL: meta_ai_api-1.0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for meta_ai_api-1.0.2.tar.gz
Algorithm Hash digest
SHA256 5e302360baa0235e9ae4ce8f9a2e8c56d3842da177639577e6315487186b968a
MD5 9ba034a26f964bcf7f67291904bf6997
BLAKE2b-256 d3029fbd4a559818a0de064a6ec90cee4c93c7644a5e6dff45794dafdd9b60c3

See more details on using hashes here.

File details

Details for the file meta_ai_api-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: meta_ai_api-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for meta_ai_api-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 59afc229ee3bef4c14be0861a4c59a042b7707748d308ba74e1cc08907f35857
MD5 f1d6c05b61859685d12ecf3148e79a0e
BLAKE2b-256 cdb1ab638633c86a02a09b7a8fe2c37cd9fd0a202c1886c070bfd8bc49def69a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page