cleanup
This commit is contained in:
@ -12,7 +12,7 @@ class GPT:
|
||||
)
|
||||
self.default_system_prompt = "You are a helpful assistant who will provide only totally accurate tidbits of info on the specific songs the user may listen to."
|
||||
|
||||
async def get_completion(self, prompt: str, system_prompt: Optional[str] = None) -> None:
|
||||
async def get_completion(self, prompt: str, system_prompt: Optional[str] = None) -> str:
|
||||
if not system_prompt:
|
||||
system_prompt = self.default_system_prompt
|
||||
chat_completion = await self.client.chat.completions.create(
|
||||
|
Reference in New Issue
Block a user