diff options
Diffstat (limited to '')
-rw-r--r-- | README.md | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -36,7 +36,7 @@ pip install -U g4f #### Prerequisites: -1. [Download and install Python](https://www.python.org/downloads/) (Version 3.x is recommended). +1. [Download and install Python](https://www.python.org/downloads/) (Version 3.10 is recommended). #### Setting up the project: @@ -278,6 +278,9 @@ asyncio.run(run_all()) ### interference openai-proxy api (use with openai python package) +If you want to use the embedding function, you need to get a huggingface token. You can get one at https://huggingface.co/settings/tokens make sure your role is set to write. If you have your token, just use it instead of the OpenAI api-key. + + get requirements: ```sh @@ -293,7 +296,7 @@ python3 -m interference.app ```py import openai -openai.api_key = "" +openai.api_key = "Empty if you don't use embeddings, otherwise your hugginface token" openai.api_base = "http://localhost:1337" @@ -518,12 +521,9 @@ for message in response: print(message, flush=True, end='') ``` -## ChatGPT clone - -> We are currently implementing new features and trying to scale it, but please be patient as it may be unstable. -> https://chat.g4f.ai/chat -> This site was developed by me and includes **gpt-4/3.5**, **internet access** and **gpt-jailbreak's** like DAN -> Run locally here: https://github.com/xtekky/chatgpt-clone. +## Contributors +A list of the contributors is available [here](https://github.com/xtekky/gpt4free/graphs/contributors) +The [`Vercel.py`](https://github.com/xtekky/gpt4free/blob/main/g4f/Provider/Vercel.py) file contains code from [vercel-llm-api](https://github.com/ading2210/vercel-llm-api) by [@ading2210](https://github.com/ading2210), which is licenced under the [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.txt) ## Copyright: |