Skip to main content

A basic AI library built off of google gemini api

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
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

NeuraForge-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

NeuraForge-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for NeuraForge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3d22f0a69eaf106070ebf4e214375069736b1d918af6db7a704bd5e7d39dfcda
MD5 586bd98235c63ca2c6f4f85b7048ab4a
BLAKE2b-256 8583d881f5f8e481af638013c1bc6bac4b20002689e025d2d7798e9d61f20b39

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for NeuraForge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c43f2bcb26b9b7563310c3ad6197140cb3fcb2e3bf61ef013a717e8817452c9
MD5 302fe715e0f49704270e2a8d86013157
BLAKE2b-256 b2207647313b6c779040e2cf35b4ce08eb5ab6dd907d90760a353e95285c58f8

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