chore: give more context on events
This commit is contained in:
parent
c15fc486b0
commit
82ae26930b
|
@ -69,7 +69,10 @@ Ensure responses do not exceed 1500 characters.
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const events = return_current_events().map((event) => event.eventId);
|
const events = return_current_events().map((event) => ({
|
||||||
|
id: event.eventId,
|
||||||
|
desc: event.description,
|
||||||
|
}));
|
||||||
const creator_system_messages: OpenAI.ChatCompletionSystemMessageParam[] = [
|
const creator_system_messages: OpenAI.ChatCompletionSystemMessageParam[] = [
|
||||||
{
|
{
|
||||||
role: "system",
|
role: "system",
|
||||||
|
|
Loading…
Reference in New Issue