Files
NexQuant/.env.example
T
cyncyw f6dc1f4d3f Openai api & eval debug (#124)
* Openai api & eval debug


---------

Co-authored-by: Young <afe.young@gmail.com>
Co-authored-by: you-n-g <you-n-g@users.noreply.github.com>
2024-07-30 18:06:48 +08:00

16 lines
271 B
Bash

# Global configs:
MAX_RETRY=10
RETRY_WAIT_SECONDS=20
# api key
OPENAI_API_KEY=your_api_key
# embedding model configs:
EMBEDDING_MODEL=text-embedding-3-small
# chat model configs:
CHAT_MODEL=your_model_version
CHAT_MAX_TOKENS=3000
CHAT_TEMPERATURE=0.7
CHAT_STREAM=True