Engineer GPT Knowledge within a project
Project description
Knowledge Engineer
Command Line Program allowing for the Engineering of Knowledge for LLM's.
OpenAI, Mistral, Anthropic are supported, I am working on OLLama for local LLM execution. The program can be extended by modifying the "Knowledge Engineer Prompt File" Domain Specific Language (DSL).
(That is a fancy way to say: "by modifying the syntax of the .kepf files.")
Quick Start
Preparation linux / mac
mkdir ke
cd ke
python3 -m venv .venv
source .venv/bin/activate
Preparation Dos/Windows
mkdir ke
cd ke
python3 -m venv .venv
.venv\Scripts\activate
Installation
pip install knowledge-engineer
Create New Project
knowledge_engineer --create=snake
Setup Project
cd snake
edit ke_process_config.env
Enter Your API Keys in the ke_process_config.env file:
OPENAI_API_KEY='<Your Open API Key>'
execute example Project
knowledge_engineer --execute
Run Your Generated Snake Game
python Code/snake_game.py
This proves knowledge-engineer is running. But the game will probably not work, as Chat GPT 3.5 Turbo only gets it right about 1/4 of the time.
Please see getting Started below for an explanation of how to use knowledge_engineer.
Further Documentation
For Users
-
The Getting Started document contains a good place to start. It is a PDF file that is a good introduction to the example project you just created and ran. It is also available in HTML format.
-
The KEPF Language Reference document is a good place to look into the options and syntax of the Domain Specific Language (DSL) used to create the prompts for the LLMs. It is also available in HTML format.
For Developers
- Aditionaly, the Release A Version explains how to update PiPy (pip install) directory with future versions of the knowledge-engineer package.
For Philosophers
- The Why Knowledge Engineer document explains why I feel that LLMs need 'Knowledge Engineer'.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file knowledge_engineer-0.7.5.tar.gz
.
File metadata
- Download URL: knowledge_engineer-0.7.5.tar.gz
- Upload date:
- Size: 25.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61b5140e7b967d62747e96893679eef18e148881634b4db8ed54dd5f6422530e |
|
MD5 | b816e5b27b480d4c6e189869da95973b |
|
BLAKE2b-256 | 53cb39d299d903b98a17805cc797df4f3a2452771a59b8bb8d4c67a34878dfb6 |
File details
Details for the file knowledge_engineer-0.7.5-py3-none-any.whl
.
File metadata
- Download URL: knowledge_engineer-0.7.5-py3-none-any.whl
- Upload date:
- Size: 28.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c4c4d085555551b30cfbf4bfeca8ee84f90c1afc2e2f97893ad936f23d133dc |
|
MD5 | ac5b82e3fa1631c07320001e998127ff |
|
BLAKE2b-256 | 3d7b734ef7e4cbe2e30d13660f1da97353406664a0e27a30a670461f93330f02 |