package for search with chatgpt in cli
Project description
chatgpt-search package for quick CLI search
chatgpt-search pypi is a simple integration of openAI chatGPT-3.0 models like (text-davinci-003, code-davinci-002, text-curie-001, text-babbage-001, text-ada-001 etc.) with python to feed your queries answers in terminal.
Tips: update
models.toml
for tuning models based on your need and use-cases.
Installation
From Pypi
$ pip install chatgpt-search
Source code
$ pipenv --python 3.9.13
$ pipenv shell
$ git clone https://github.com/abhijeetkr93/chatgpt-search.git
Setup
set env 'CHATGPT_KEY' for api queries. get free api key by signing up here https://beta.openai.com/signup
$ export CHATGPT_KEY='XXXXXXXXXXXXX'
$ python -m search
Ask Anything (type exit to close):
source code: $ python src/search/main.py
Start Playing
Text Completion:
"write short story about colonisation."
Coding Queries:
"How do you implement a bucket sort algorithm?"
"How to convert list of dicts in dict of lists in python?"
"Explain 'const groupsData = await this.getMasterGroup(this.masterGroupName, this.userData.company);'
Q&A:
"What is the distance between earth and neptune?"
License
Distributed under the MIT License. See LICENSE
for more information.
Disclaimer
This is a personal project, not affiliated in any way with OpenAI. If you have any objections, contact @abhijeetkr93.
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
Hashes for chatgpt_search-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1069ba4170d910494ae5f16aa0f6d2a0eb419a6b2fdb635d52c1c36ef17ed51f |
|
MD5 | 0eabb802f53d944d6d9c530698967590 |
|
BLAKE2b-256 | a9f9338b5c16b06838a6dcefb969c395f4e2e5fef40e856f6ec63df072b99c3b |