Python client for fenst4r.life API
Project description
Neirost4r
Минимальный Python-клиент для fenst4r.life API.
Позволяет отправлять запросы к API и получать ответы от нейросети, используя профили и флаги.
Установка
pip install neirost4r
Пример использования
from neirost4r import Neirost4r
client = Neirost4r()
message = "Привет, расскажи что нового в технологиях"
flags = {
"provider": "mistral",
"model": "mistral-medium",
"formatting": True,
"raw": False,
"string": True,
"clean": False,
"uncensored": True,
"max_tokens": 500,
"temperature": 0.7,
"top_p": 0.9,
"stop_sequences": "",
"code_to_link": False
}
answer = client.chat(message=message, profile="friendly", flags=flags)
print(answer)
Подробнее про использование параметры API: https://fenst4r.life/ai/api/
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
neirost4r-1.0.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neirost4r-1.0.tar.gz.
File metadata
- Download URL: neirost4r-1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f132fe6a2028959e175060ff309d42251597059e5ccdeab2da1b4309897c3e0c
|
|
| MD5 |
2cb1ec9e4b7b6c1a5a3c80445f9c4dc3
|
|
| BLAKE2b-256 |
efbcd2b0e588cdcedc6f778483fced18e261a3b412d6572e07244c03f01c7465
|
File details
Details for the file neirost4r-1.0-py3-none-any.whl.
File metadata
- Download URL: neirost4r-1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec871855e81f2d7ed73388abdb3b9f3ffb56ef1dde91a21c13394f9669aa2dd6
|
|
| MD5 |
abdf384b4983fff0ea71d6b0712b3c34
|
|
| BLAKE2b-256 |
a49fc34c3c085a66ca2525176b406c39a9c2c0e6847c299562782ca7d41b9478
|