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
Project details
Release history Release notifications | RSS feed
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.50.tar.gz
(8.8 kB
view details)
Built Distribution
File details
Details for the file horridapi-1.0.50.tar.gz
.
File metadata
- Download URL: horridapi-1.0.50.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 202c968245befa5d264a004fd013ae50865d8eb0c09b4393a595e77dd6232987 |
|
MD5 | a732256d3ffd651d26bb438eea59ed7b |
|
BLAKE2b-256 | 92fc02a611fa1c38cecd7b1133396ac98a0a696b0a9f5b46d469c6c2245fadb8 |
File details
Details for the file HorridAPI-1.0.50-py3-none-any.whl
.
File metadata
- Download URL: HorridAPI-1.0.50-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b111d0bb44d734a4974ac80b17f52405c06384e18bdd95f2fec217c7b4500110 |
|
MD5 | c1f5786ae029ba72f34ff00a21e3e01e |
|
BLAKE2b-256 | 33fc5b7d97fc70c3ce753d83e0cbf2713f828de33022c2b40942c7153e7d4e51 |