From 2a46667ac97c292db9af69a4d5e992280b34db41 Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 14 Aug 2025 01:50:27 +0800 Subject: [PATCH] Add OpenAI frequency penalty sample env params --- env.example | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/env.example b/env.example index 43739d10..2cc97d55 100644 --- a/env.example +++ b/env.example @@ -136,7 +136,13 @@ LLM_BINDING_API_KEY=your_api_key # LLM_BINDING_API_KEY=your_api_key # LLM_BINDING=openai -### Most Commont Parameters for Ollama Server +### OpenAI Specific Parameters +### Apply frequency penalty to prevent the LLM from generating repetitive or looping outputs +# OPENAI_LLM_FREQUENCY_PENALTY=1.1 +### use the following command to see all support options for openai and azure_openai +### lightrag-server --llm-binding openai --help + +### Ollama Server Specific Parameters ### Time out in seconds, None for infinite timeout TIMEOUT=240 ### OLLAMA_LLM_NUM_CTX must be larger than MAX_TOTAL_TOKENS + 2000