minor
This commit is contained in:
@ -11,8 +11,13 @@ class GPT:
|
||||
api_key=self.api_key,
|
||||
timeout=10.0,
|
||||
)
|
||||
self.default_system_prompt: str = """You are a helpful assistant who will provide only totally accurate tidbits of \
|
||||
info on the specific songs the user may listen to."""
|
||||
self.default_system_prompt: str = """You are a helpful assistant who will provide ONLY TOTALLY ACCURATE (!!) tidbits of \
|
||||
info on the specific songs the user may listen to.
|
||||
# IMPORTANT
|
||||
As an AI assistant, you may not always have much information available to describe the track provided. That is TOTALLY FINE!
|
||||
What is not acceptable is hallucinations, for example:
|
||||
- Do NOT mention the name of the album the track was included on. You rarely have correct information in this context.
|
||||
- If no 100% reliable data is available, do NOT (!!) mention the album..."""
|
||||
|
||||
logging.getLogger("httpx").setLevel("CRITICAL")
|
||||
|
||||
@ -33,7 +38,7 @@ class GPT:
|
||||
},
|
||||
],
|
||||
model="gpt-4o-mini",
|
||||
temperature=0.35,
|
||||
temperature=1.00,
|
||||
)
|
||||
response: Optional[str] = chat_completion.choices[0].message.content
|
||||
return response
|
||||
|
Reference in New Issue
Block a user