A simple Tkinter GUI library with basic widgets and functionality.
Project description
Sentience
Sentience is a basic AI library made to simplify the usage of the genai library by providing basic functions for chat at a higher level.
Installation
To install Sentience, you can simply use:
pip install Sentience
Usage
#Set your api (does not return in a variable)
API(your_api_key)
#Make the model, settings can be altered (returns the model in a variable), code example provides default settings
model = Model(model = "gemini-1.5-pro", temperature = 1, top_p = 0.95, top_k = 40, max_output_tokens = 8192)
#Uses model created above to make a chat (returns chat in a variable)
chat = Chat(model)
#Sends a message to your chat, replace chat with the varible you have named your chat
response = Send(chat, "Hello, how are you?")
print(response)
Bugs
If you are finding bugs in the code, please report them to me @aaroh.charne@gmail.com. Please include a snippet of your code as well the problem. Thank You
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
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 FunctionGUI-0.5.0.tar.gz.
File metadata
- Download URL: FunctionGUI-0.5.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7267c432ef780a61afe9ce14ad1b4b0b3afa762fd1459227ca1c7e8cfaffbef8
|
|
| MD5 |
5d46e8a015b2839cd4ec3c2d6d77c7e2
|
|
| BLAKE2b-256 |
ae06ceaa038fe4471ffa892c1c3f222bb2522d30bd6383e22a49f706732f26db
|
File details
Details for the file FunctionGUI-0.5.0-py3-none-any.whl.
File metadata
- Download URL: FunctionGUI-0.5.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
371bb55b6b521d27651e7e2f7d1d73276257b0c545aa3557d12bf489835eba1c
|
|
| MD5 |
28a35b119a68381be4733b43177e1000
|
|
| BLAKE2b-256 |
37d0a2ed95253dbac17045d4578e5256552a778060027693ed078f2d18b6ac45
|