chatgpt-search


Namechatgpt-search JSON
Version 0.0.5 PyPI version JSON
download
home_page
Summarypackage for search with chatgpt in cli
upload_time2023-01-25 10:08:24
maintainer
docs_urlNone
author
requires_python>=3.8
license
keywords search
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://media.giphy.com/media/hWJGpCAAclpyqyPoeN/giphy.gif)

### Source code
```sh
$ 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`

```sh
$ 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](https://media.giphy.com/media/e09ykfVdv4IDybFhpQ/giphy.gif)

```
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](https://media.giphy.com/media/yZtKPeVHgkYzKt5WgO/giphy.gif)
![coding](https://media.giphy.com/media/WtLlMXD8TZ2CcrLgAs/giphy.gif)
![explain-code](https://media.giphy.com/media/yHBfRBn0IGH6zvuOZd/giphy.gif)

```
Q&A: 
"What is the distance between earth and neptune?"
```
![query](https://media.giphy.com/media/NmpD5uzyLOZxPQq3Qq/giphy.gif)
## 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.


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "chatgpt-search",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "search",
    "author": "",
    "author_email": "Abhijeet Kumar <krabhijeet93@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/23/d5/53e47a338b685b1cfddf507fd6172b8e51c49fb4637a4e6fd439008054ed/chatgpt-search-0.0.5.tar.gz",
    "platform": null,
    "description": "# chatgpt-search package for quick CLI search\n\nchatgpt-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 \nto feed your queries answers in terminal.\n\n> Tips: *update ```models.toml``` for tuning models based on your need and use-cases.* \n\n## Installation\n### From Pypi\n```\n$ pip install chatgpt-search\n```\n![installpackage](https://media.giphy.com/media/hWJGpCAAclpyqyPoeN/giphy.gif)\n\n### Source code\n```sh\n$ pipenv --python 3.9.13\n$ pipenv shell\n$ git clone https://github.com/abhijeetkr93/chatgpt-search.git\n```\n\n#### Setup\nset env 'CHATGPT_KEY' for api queries. get free api key by signing up here `https://beta.openai.com/signup`\n\n```sh\n$ export CHATGPT_KEY='XXXXXXXXXXXXX'\n$ python -m search\nAsk Anything (type exit to close):\n```\nsource code: *$ python src/search/__main__.py*\n\n#### Start Playing\n```\nText Completion: \n\"write short story about colonisation.\"\n```\n![writestory](https://media.giphy.com/media/e09ykfVdv4IDybFhpQ/giphy.gif)\n\n```\nCoding Queries:\n\"How do you implement a bucket sort algorithm?\"\n\"How to convert list of dicts in dict of lists in python?\"\n\"Explain 'const groupsData = await this.getMasterGroup(this.masterGroupName, this.userData.company);'\n```\n![bucket-sort](https://media.giphy.com/media/yZtKPeVHgkYzKt5WgO/giphy.gif)\n![coding](https://media.giphy.com/media/WtLlMXD8TZ2CcrLgAs/giphy.gif)\n![explain-code](https://media.giphy.com/media/yHBfRBn0IGH6zvuOZd/giphy.gif)\n\n```\nQ&A: \n\"What is the distance between earth and neptune?\"\n```\n![query](https://media.giphy.com/media/NmpD5uzyLOZxPQq3Qq/giphy.gif)\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n## Disclaimer\n\nThis is a personal project, not affiliated in any way with OpenAI. If you have any objections, contact @abhijeetkr93.\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "package for search with chatgpt in cli",
    "version": "0.0.5",
    "split_keywords": [
        "search"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f686d1456ba61e03e68fed3fc9e28e4f7fccbbbb475a98ab53d858e8c5bd6104",
                "md5": "3425131571e765e9c4a194a282ce09c7",
                "sha256": "7beafdb6877696547ae05678353dac34c79b768ac84bcd578c811e713cfafb16"
            },
            "downloads": -1,
            "filename": "chatgpt_search-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3425131571e765e9c4a194a282ce09c7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5959,
            "upload_time": "2023-01-25T10:08:22",
            "upload_time_iso_8601": "2023-01-25T10:08:22.429039Z",
            "url": "https://files.pythonhosted.org/packages/f6/86/d1456ba61e03e68fed3fc9e28e4f7fccbbbb475a98ab53d858e8c5bd6104/chatgpt_search-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "23d553e47a338b685b1cfddf507fd6172b8e51c49fb4637a4e6fd439008054ed",
                "md5": "389429a8b57164365e20bc7811141521",
                "sha256": "36e5038c33d6a1eef84555680ac63164ac3a88da4d4b73bef834f90549b87b02"
            },
            "downloads": -1,
            "filename": "chatgpt-search-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "389429a8b57164365e20bc7811141521",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4979,
            "upload_time": "2023-01-25T10:08:24",
            "upload_time_iso_8601": "2023-01-25T10:08:24.419513Z",
            "url": "https://files.pythonhosted.org/packages/23/d5/53e47a338b685b1cfddf507fd6172b8e51c49fb4637a4e6fd439008054ed/chatgpt-search-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-25 10:08:24",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "chatgpt-search"
}
        
Elapsed time: 0.09364s