Skip to main content

A simple website-making library based on streamlit for AI, uses Neuraforge gemini library

Project description

NeuraForge

NeuraForge 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 NeuraForge , you can simply use:

pip install NeuraForge  

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
#Note that images are optional
response = Send(chat, "Hello, how are you?", path=your_image_path)
#
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

Sitea-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

Sitea-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file Sitea-0.1.0.tar.gz.

File metadata

  • Download URL: Sitea-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for Sitea-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2beea14b309a73cdbb9659418dcf69b79a5b7b9e3116e323d595c8acc9fe99a3
MD5 81d4392c06c802b753bcdf733e50c679
BLAKE2b-256 0fe5f55def46a5765c5cee67a8160c00de64fc959933fd5e400fd9ab5febff0c

See more details on using hashes here.

File details

Details for the file Sitea-0.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for Sitea-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac0954ace0859a626c6d22a346e43cb48db3531f24b87a13b9cefc9848b54d8e
MD5 b28584e571ab62dfccb177bd2e211750
BLAKE2b-256 7628c34d8935ef5ecf009ca45e1a2dda7738acb0ebaeba7ca911be84ad219549

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