adds bing ai functionality, still need to code out message/convo storing since it returns a lot of useful parameters

This commit is contained in:
Danny Avila 2023-02-15 12:29:56 -05:00
parent e0a26f52cd
commit 5c7000c273
11 changed files with 462 additions and 21 deletions

View file

@ -15,6 +15,15 @@ const convoSchema = mongoose.Schema({
type: String,
default: 'New conversation',
},
conversationSignature: {
type: String,
},
clientId: {
type: String,
},
invocationId: {
type: String,
},
messages: [{ type: mongoose.Schema.Types.ObjectId, ref: 'Message' }],
created: {
type: Date,