Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.38 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.38 KB

termux_voice_gpt

termux voice gpt using openai api key and termux api

OpenAI Python API library

PyPI version

The OpenAI Python library provides convenient access to the OpenAI REST API from any Python 3.7+ application. The library includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by httpx.

It is generated from our OpenAPI specification with Stainless.

pkg update && pkg upgrade
pkg install git
pkg install termux-api
pkg install python && pkg install python2 && pkg install python3
git clone https://github.com/shubhamg0sai/termux_voice_gpt.git
cd termux_voice_gpt

Installation

Important

The SDK was rewritten in v1, which was released November 6th 2023. See the v1 migration guide, which includes scripts to automatically update your code.

pip install openai

Install Requriments.txt

pip install -r requriments.txt

Documentation

open apikey.py file paste your api key there api_data="YOUR_API_KEY"

The API documentation can be found here.

run

python main.py