Python based client for interaction with OpenAI GPT models. The example chat completion has a focus on SAP Security.
- Install dependencies
python3 -m pip install requirements.txt
- execute script and provide OpenAI API key
python3 client.py --key <PLACE YOUR API KEY HERE>
____ _ ____ ____ _ _ _ _ _ _
/ ___| / \ | _ \ / ___| ___ ___ _ _ _ __(_) |_ _ _ / \ ___ ___(_)___| |_ __ _ _ __ | |_
\___ \ / _ \ | |_) | \___ \ / _ \/ __| | | | '__| | __| | | | / _ \ / __/ __| / __| __/ _` | '_ \| __|
___) / ___ \| __/ ___) | __/ (__| |_| | | | | |_| |_| | / ___ \__ \__ \ \__ \ || (_| | | | | |_
|____/_/ \_\_| |____/ \___|\___|\__,_|_| |_|\__|\__, | /_/ \_\___/___/_|___/\__\__,_|_| |_|\__|
|___/
>>> help
Documented commands (type help <topic>):
========================================
exit help quit
- Have fun :-)