remove karma endpoints from schema + add webhook notification for debugging (failed lyrics searches, non-LRC)
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import logging
|
||||
from typing import Optional
|
||||
from openai import AsyncOpenAI
|
||||
|
||||
@ -13,6 +14,8 @@ class GPT:
|
||||
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."""
|
||||
|
||||
logging.getLogger("httpx").setLevel("CRITICAL")
|
||||
|
||||
async def get_completion(
|
||||
self, prompt: str, system_prompt: Optional[str] = None
|
||||
) -> Optional[str]:
|
||||
|
Reference in New Issue
Block a user