Skip to main content

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

installpackage

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."

writestory

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);'

bucket-sort coding explain-code

Q&A: 
"What is the distance between earth and neptune?"

query

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.

Metadata

Release files for chatgpt-search 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chatgpt-search 0.0.5
File Size Uploaded
chatgpt-search-0.0.5.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chatgpt-search 0.0.5
File Interpreter ABI Platform
chatgpt_search-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / chatgpt-search-0.0.5.tar.gz

Download URL chatgpt-search-0.0.5.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
36e5038c33d6a1eef84555680ac63164ac3a88da4d4b73bef834f90549b87b02
BLAKE2b-256 checksum
How to use checksums
23d553e47a338b685b1cfddf507fd6172b8e51c49fb4637a4e6fd439008054ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / chatgpt_search-0.0.5-py3-none-any.whl

Download URL chatgpt_search-0.0.5-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7beafdb6877696547ae05678353dac34c79b768ac84bcd578c811e713cfafb16
BLAKE2b-256 checksum
How to use checksums
f686d1456ba61e03e68fed3fc9e28e4f7fccbbbb475a98ab53d858e8c5bd6104
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page