Skip to main content

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


Download files

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

Source Distribution

FunctionGUI-0.6.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FunctionGUI-0.6.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file FunctionGUI-0.6.2.tar.gz.

File metadata

  • Download URL: FunctionGUI-0.6.2.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

Hashes for FunctionGUI-0.6.2.tar.gz
Algorithm Hash digest
SHA256 5332df8505406cc01c6dd5b1904ada88fc0f50079bf2368a2d3b4cbd2715a9e2
MD5 263491250e0e5083264a89ba3c50f126
BLAKE2b-256 f050b287bc13ff1cfc28c863d801759d2527c1a1a0dc7e62b6eb26afacab06f2

See more details on using hashes here.

File details

Details for the file FunctionGUI-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: FunctionGUI-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for FunctionGUI-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fab8ce3f318a77d91d988104adaa8b19fbf8293920708564242ec452fab230a6
MD5 2a8e2d71647fc8429c6d90abb2a16ba8
BLAKE2b-256 ab86d29e12e9155aabb1bb88bc5b69733c4bc81fc7ef3bbd97c76f23a109b3a3

See more details on using hashes here.

Supported by

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