diff options
author | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-15 16:21:51 +0200 |
---|---|---|
committer | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-15 16:21:51 +0200 |
commit | 6c64e459b36f83aaea79579799b451337411975f (patch) | |
tree | aa5a556e6d962ccbbc0239f1874b92d1393dfbe1 /README.md | |
parent | xtekky.com site (diff) | |
download | gpt4free-6c64e459b36f83aaea79579799b451337411975f.tar gpt4free-6c64e459b36f83aaea79579799b451337411975f.tar.gz gpt4free-6c64e459b36f83aaea79579799b451337411975f.tar.bz2 gpt4free-6c64e459b36f83aaea79579799b451337411975f.tar.lz gpt4free-6c64e459b36f83aaea79579799b451337411975f.tar.xz gpt4free-6c64e459b36f83aaea79579799b451337411975f.tar.zst gpt4free-6c64e459b36f83aaea79579799b451337411975f.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -21,6 +21,7 @@ This repository provides reverse-engineered language models from various sources - [Sites with Authentication (Will Reverse Engineer but Need Account Access)](#sites-with-authentication) - [Usage Examples](#usage-examples) - [`quora (poe)`](#example-poe) + - [`phind`](#example-phind) - [`t3nsor`](#example-t3nsor) - [`ora`](#example-ora) - [`writesonic`](#example-writesonic) @@ -36,6 +37,7 @@ This repository provides reverse-engineered language models from various sources | [writesonic.com](https://writesonic.com)|GPT-3.5 / Internet| | [t3nsor.com](https://t3nsor.com)|GPT-3.5| | [you.com](https://you.com)|GPT-3.5 / Internet / good search| +| [phind.com](https://phind.com)|GPT-4 / Internet / good search| ## Sites with Authentication <a name="sites-with-authentication"></a> @@ -97,6 +99,26 @@ response = quora.Completion.create(model = 'gpt-4', print(response.completion.choices[0].text) ``` +### Example: `phind` (use like openai pypi package) <a name="example-phind"></a> + +```python +# HELP WANTED: tls_client does not accept stream and timeout gets hit with long responses + +import phind + +prompt = 'hello world' + +result = phind.Completion.create( + model = 'gpt-4', + prompt = prompt, + results = phind.Search.create(prompt, actualSearch = False), # create search (set actualSearch to False to disable internet) + creative = False, + detailed = False, + codeContext = '') # up to 3000 chars of code + +print(result.completion.choices[0].text) +``` + ### Example: `t3nsor` (use like openai pypi package) <a name="example-t3nsor"></a> ```python |