WIP: tunning
This commit is contained in:
@@ -10,11 +10,11 @@ openai.api_key = os.environ["OPENAI_API_KEY"]
|
||||
r = redis.Redis.from_url(os.environ.get("REDIS_URL", "redis://redis:6379"))
|
||||
|
||||
class MessagePayload(BaseModel):
|
||||
roomId: str
|
||||
userId: str
|
||||
content: str
|
||||
eventId: str
|
||||
timestamp: int
|
||||
roomId: str
|
||||
userId: str
|
||||
eventId: str
|
||||
serverTimestamp: int
|
||||
content: str
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user