We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8a8c0cb + aff33de commit 40fe53dCopy full SHA for 40fe53d
README.md
@@ -45,8 +45,8 @@ You will also need a valid OpenAI API key to authenticate your requests.
45
{
46
"name": "ChatGPT 3.5 Model",
47
"endpoints": [{"url": "http://127.0.0.1:8000/generate_stream"}],
48
- "userMessageToken": "user",
49
- "assistantMessageToken": "assistant",
+ "userMessageToken": "User: ",
+ "assistantMessageToken": "Assistant: ",
50
"messageEndToken": "\n",
51
"preprompt": "You are a helpful assistant.",
52
"parameters": {
server.py
@@ -30,7 +30,7 @@
30
31
app = FastAPI()
32
33
-openai.api_key = os.environ['OPEN_API_KEY']
+openai.api_key = os.environ['OPENAI_API_KEY']
34
DEFAULT_TEMPERATURE = 0.7
35
DEFAULT_MAX_TOKENS = 100
36
0 commit comments