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
File details
Details for the file chatgpt-search-0.0.5.tar.gz
.
File metadata
- Download URL: chatgpt-search-0.0.5.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e5038c33d6a1eef84555680ac63164ac3a88da4d4b73bef834f90549b87b02 |
|
MD5 | 389429a8b57164365e20bc7811141521 |
|
BLAKE2b-256 | 23d553e47a338b685b1cfddf507fd6172b8e51c49fb4637a4e6fd439008054ed |
File details
Details for the file chatgpt_search-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: chatgpt_search-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7beafdb6877696547ae05678353dac34c79b768ac84bcd578c811e713cfafb16 |
|
MD5 | 3425131571e765e9c4a194a282ce09c7 |
|
BLAKE2b-256 | f686d1456ba61e03e68fed3fc9e28e4f7fccbbbb475a98ab53d858e8c5bd6104 |