import { handleMemoryApiRequest } from "https://esm.town/v/xkonti/gptMemoryManager";
export const memoryApiExample = async (req: Request) => {
const apiName = "Memory API";
const contactEmail = "some@email.com";
const lastPolicyUpdate = "2023-11-28";
const blobKeyPrefix = "gpt:memories:";
const apiKeyPrefix = "GPTMEMORYAPI_KEY_";
return await handleMemoryApiRequest(
req,
apiName,
contactEmail,
lastPolicyUpdate,
blobKeyPrefix,
apiKeyPrefix,
);
};