update schema and prompt structure
This commit is contained in:
@ -72,10 +72,11 @@ const storePromptData = async (
|
||||
await prisma.response.create({
|
||||
data: {
|
||||
response: ollamaResponseBody.response,
|
||||
request: striptags(notification.status.content),
|
||||
request: `${notification.status.account.fqn} asks: ${striptags(
|
||||
notification.status.content
|
||||
)}`,
|
||||
to: notification.account.fqn,
|
||||
pleromaNotificationId: notification.status.id,
|
||||
createdAt: new Date(Date.now()),
|
||||
},
|
||||
});
|
||||
} catch (error: any) {
|
||||
|
Reference in New Issue
Block a user