Skip to main content

Local AI tools and models for DevOps Engineers

Project description

PyPI

hephAIstus - God of the Forge

hephaistus is a Python package that has a variety of different AI models to assist DevOps Engineers. All of these models run on your local computer and do not get saved online at all. This will allow the user to safely and securely discuss any topic with the AI bot without any potential data leak.

These models use gpt4all and ollama.

Install

To install this package, run pip install hephAIstus.

hephAIstus' Forge

The first AI model is forge() and it uses gpt4all. To use it, simply run the following commands in a Python terminal.

from hephaistus import HephAIstus

heph = HephAIstus()
heph.forge()

This will then start a conversation with an AI bot. You can specify the AI model to use with the model_version parameter in forge. If no model is specified, then it will use the default.

After the conversation is finished, the user can save the results to a text file.

hephAIstus' Hammer

Alternatively, you can use ollama with hammer(). To use it, simply run the following commands in a Python terminal.

from hephaistus import HephAIstus

heph = HephAIstus()
heph.hammer()

This will then start a conversation with an AI bot. You can specify the AI model to use with the model_version parameter in forge. If no model is specified, then it will use the default.

To use one of the provided AI models (found in src/hephaistus/models), run make create_models and all relevant models will be initialized. Alternatively, see the below section (Create Models) about how to do this with HephAIstus.

After the conversation is finished, the user can save the results to a text file.

Create models

There are some models already setup in the src/hephaistus/models folder. These can be build automatically by running the following code.

from hephaistus import HephAIstus

heph = HephAIstus()
heph.create_hammers()

You can then see the available models on your local machine by running heph.list_hammers().

Continue chat

You can continue a previous conversation, from either forge() or hammer(), by running load_save(file_name). This will then load a previously saved conversation to be used by hammer().

Note, forge() does not allow a conversation to be continued like this.

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

hephaistus-1.2.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

hephaistus-1.2.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file hephaistus-1.2.0.tar.gz.

File metadata

  • Download URL: hephaistus-1.2.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hephaistus-1.2.0.tar.gz
Algorithm Hash digest
SHA256 cc6285af7b4640d1ae14f9de16d4e01e0642ef94a235c9cc2a220087aa6ec16a
MD5 6b08f6e1963af3a190ebe033a070b952
BLAKE2b-256 8fbcc232fe315dfb2bb1b06d7d5e7de0b94570d4bf2ffaa1a6557f0ca9fa8de0

See more details on using hashes here.

Provenance

The following attestation bundles were made for hephaistus-1.2.0.tar.gz:

Publisher: python-publish.yml on JacobCompany/hephAIstus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hephaistus-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: hephaistus-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hephaistus-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb8e26854bcee510b231161c1c1cd2510f932b6cfce8af1b96c6d823a188368b
MD5 b7b9bfa48a29c3fc33f036e7d0cdb79b
BLAKE2b-256 0e2c0f1b383a7c7fd9a1db58191a1b346a036cc34e9881df909b83bfd807d58e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hephaistus-1.2.0-py3-none-any.whl:

Publisher: python-publish.yml on JacobCompany/hephAIstus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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