Skip to content
/ v4xyz Public

A command line tool to chat with GPT4 and render markdown response.

License

Notifications You must be signed in to change notification settings

imhuwq/v4xyz

Folders and files

NameName
Last commit message
Last commit date
May 12, 2023
May 13, 2023
Apr 30, 2024
May 13, 2023
May 14, 2023
Apr 30, 2024
Apr 30, 2024

Repository files navigation

v4xyz


v4xyz, way for doing kinds of things.

PyPI - Python Version PyPI PyPI - Downloads GitHub

A cli tool that ask GPT4 for programming solutions and get answers directly in terminal.

 ______   __    _              _             __    __            _      __             
/_  __/  / /   (_)  ___       (_)  ___      / /_  / /  ___      | | /| / / ___ _  __ __
 / /    / _ \ / /  (_-<      / /  (_-<     / __/ / _ \/ -_)     | |/ |/ / / _ `/ / // /
/_/    /_//_//_/  /___/     /_/  /___/     \__/ /_//_/\__/      |__/|__/  \_,_/  \_, / 
                                                                                /___/  
v4xyz.mp4

1. Installation

1.1 Installing from pypi

pip install v4xyz

1.2 Installing from github

git clone https://github.com/imhuwq/v4xyz
cd v4xyz
python setup.py install

2. Setup config

Once you have v4xyz installed, you have to config the OpenAI API key and the proxies if necessary.

v4 -e # this will open the config file with your editor

The config file is in json format:

{
  "openai_secret": "",
  "openai_model": "gpt-4-turbo",
  "http_proxy": "",
  "https_proxy": ""
}

The openai_secret must be set to your OpenAI key.
The openai_model is optional, the default is gpt-4-turbo. The http_proxy and https_proxy are optional if the OpenAI API is directly accessible from your region.

3. Ask AI in Terminal

v4 'How to config a reverse proxy with Nginx?'
v4 'send a HTTP GET request using telnet'
v4 'any thing here'

About

A command line tool to chat with GPT4 and render markdown response.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages