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.1.0.tar.gz (9.3 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.1.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hephaistus-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5b6daff78beda30133ca4974ba9eb62c8c7cd79e920b1e2360212f0718cd7ddc
MD5 92a67c369d8486ac902db19676d36f32
BLAKE2b-256 e231cc94809cb1fafcaca3201e9ee0ed410a61ebf20e74e52c46c6b1b9b2896c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hephaistus-1.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: hephaistus-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.5 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65eab44c28d1b876f39a5fa682a26d65f6d3362e8ba5adf129f8e11d0f85cb19
MD5 95014f7562d1db670a60359ed84535e3
BLAKE2b-256 c3cfbfc8a0829d86102aca27c00959e2b3850919232b508455f39667721d661f

See more details on using hashes here.

Provenance

The following attestation bundles were made for hephaistus-1.1.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