Skip to main content

Asynchronous Python Wrapper For HorridAPI

Project description

HorridAPI

Pip Install

pip install HorridAPI

Usage

from HorridAPI import api
ai = api.llama("who are you")
print(ai)

Mango Ai

from HorridAPI import Mango

mango = Mango()

response = mango.chat.completions.create(
    model="gpt-3.5",
    messages=[{"role": "user", "content": "Hello"}]
)

print(response.text)

MangoSeed

Introducing MangoSeed AI

MangoSeed is a super cool AI that offers the following features:

  • User Data Storage: You can save user data to the AI, allowing for personalized experiences and tailored interactions.
  • Upgradability: The AI can be upgraded to make it even more cool and advanced, ensuring it stays cutting-edge and efficient.

MangoSeed sample code

from MangoSeed import Mseed
from MangoSeed.payload import create_payload

ai = Mseed("") # add here your mongo db

response = ai.generate(
            system="You are a Help full assistant, You act like a good human",
            prompt=query,
            user_id=message.from_user.id,
            model="gpt-3.5"
        )
print(response["result"])

MangoSeed user message delete

how to delete that user message from db 🤔

here the code of delete user data

from MangoSeed import Mseed

delete = Mseed("") # add here your mongo db url


delete.delete_user_messages(12345) # add here which user data you want delete that user id

Download files

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

Source Distribution

horridapi-1.0.58.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

HorridAPI-1.0.58-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file horridapi-1.0.58.tar.gz.

File metadata

  • Download URL: horridapi-1.0.58.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for horridapi-1.0.58.tar.gz
Algorithm Hash digest
SHA256 0896caf58090c7358b9d1da32368764b2087e0bb9889a8d7f16696b64c926918
MD5 16f3376783f1ca2f9aaf8ac657642e84
BLAKE2b-256 21377d3b62c69c10f8a4b1e93a9adc63dbf218d7a8366c283d6e828ec03d2611

See more details on using hashes here.

File details

Details for the file HorridAPI-1.0.58-py3-none-any.whl.

File metadata

  • Download URL: HorridAPI-1.0.58-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for HorridAPI-1.0.58-py3-none-any.whl
Algorithm Hash digest
SHA256 af92c40c36ddd6f5a82609f8753ef6cad2d47bd9332803b74a6c482ccd6461d4
MD5 f3b29193fa05094dce6d8e089cc41f46
BLAKE2b-256 cf22e30a32cc040df63fd75274a4470a8719d81f6897706e5377a199abfd1d8f

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