Adjust the LLM temperature to reduce hallucinations
This commit is contained in:
parent
628fd55201
commit
d004ea06d5
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class LoggerChatModel:
|
|||
class GPTAnswerer:
|
||||
def __init__(self, openai_api_key):
|
||||
self.llm_cheap = LoggerChatModel(
|
||||
ChatOpenAI(model_name="gpt-4o-mini", openai_api_key=openai_api_key, temperature=0.8)
|
||||
ChatOpenAI(model_name="gpt-4o-mini", openai_api_key=openai_api_key, temperature=0.4)
|
||||
)
|
||||
@property
|
||||
def job_description(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue