diff --git a/.env.example b/.env.example index 9003c36..8d5bb1f 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,14 @@ -# hello -OPENAI_API_KEY="" -wtf='234' +#!/bin/bash +# Description: Env file for askchat. +# Current version: 0.1.1 + +# The base url of the API (without suffix /v1) +OPENAI_API_BASE_URL='localhost:8000' + +# Your API key +OPENAI_API_KEY='EMPTY' + +# The model name. +# You can use `askchat --all-valid-models` to see the valid models +OPENAI_API_MODEL='baichuan2' + diff --git a/askchat/__init__.py b/askchat/__init__.py index a5add33..3c283ca 100644 --- a/askchat/__init__.py +++ b/askchat/__init__.py @@ -2,6 +2,6 @@ __author__ = """Rex Wang""" __email__ = '1073853456@qq.com' -__version__ = '0.1.1' +__version__ = '0.2.0' from .askchat import ask \ No newline at end of file diff --git a/setup.py b/setup.py index 6115ffb..6b348c2 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages -VERSION = '0.1.1' +VERSION = '0.2.0' with open('README.md') as readme_file: readme = readme_file.read() @@ -26,6 +26,7 @@ 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], description="Interact with ChatGPT in terminal via chattool", install_requires=requirements,