diff --git a/apps/ai/README.md b/apps/ai/README.md index a504fcc19c..adcf03ba57 100644 --- a/apps/ai/README.md +++ b/apps/ai/README.md @@ -1,6 +1,6 @@ # Cal.com Email Assistant -Welcome to the first stage of Cal AI! +Welcome to the first stage of Cal.ai! This app lets you chat with your calendar via email: @@ -27,7 +27,7 @@ Before running the app, please see [env.mjs](./src/env.mjs) for all required env - An [OpenAI API key](https://platform.openai.com/account/api-keys) with access to GPT-4 - A [SendGrid API key](https://app.sendgrid.com/settings/api_keys) - A default sender email (for example, `ai@cal.dev`) - - The Cal AI's app ID and URL (see [add.ts](/packages/app-store/cal-ai/api/index.ts)) + - The Cal.ai's app ID and URL (see [add.ts](/packages/app-store/cal-ai/api/index.ts)) To stand up the API and AI apps simultaneously, simply run `yarn dev:ai`. diff --git a/apps/ai/src/app/api/receive/route.ts b/apps/ai/src/app/api/receive/route.ts index 262a72e5e5..1697bdd4a5 100644 --- a/apps/ai/src/app/api/receive/route.ts +++ b/apps/ai/src/app/api/receive/route.ts @@ -61,9 +61,9 @@ export const POST = async (request: NextRequest) => { // User is not a cal.com user or is using an unverified email. if (!signature || !user) { await sendEmail({ - html: `Thanks for your interest in Cal AI! To get started, Make sure you have a cal.com account with this email address.`, + html: `Thanks for your interest in Cal.ai! To get started, Make sure you have a cal.com account with this email address.`, subject: `Re: ${body.subject}`, - text: `Thanks for your interest in Cal AI! To get started, Make sure you have a cal.com account with this email address. You can sign up for an account at: https://cal.com/signup`, + text: `Thanks for your interest in Cal.ai! To get started, Make sure you have a cal.com account with this email address. You can sign up for an account at: https://cal.com/signup`, to: envelope.from, from: aiEmail, }); @@ -78,9 +78,9 @@ export const POST = async (request: NextRequest) => { const url = env.APP_URL; await sendEmail({ - html: `Thanks for using Cal AI! To get started, the app must be installed. Click this link to install it.`, + html: `Thanks for using Cal.ai! To get started, the app must be installed. Click this link to install it.`, subject: `Re: ${body.subject}`, - text: `Thanks for using Cal AI! To get started, the app must be installed. Click this link to install the Cal AI app: ${url}`, + text: `Thanks for using Cal.ai! To get started, the app must be installed. Click this link to install the Cal.ai app: ${url}`, to: envelope.from, from: aiEmail, }); diff --git a/apps/ai/src/utils/agent.ts b/apps/ai/src/utils/agent.ts index 2164917d6f..f5694160cf 100644 --- a/apps/ai/src/utils/agent.ts +++ b/apps/ai/src/utils/agent.ts @@ -16,7 +16,7 @@ import now from "./now"; const gptModel = "gpt-4"; /** - * Core of the Cal AI booking agent: a LangChain Agent Executor. + * Core of the Cal.ai booking agent: a LangChain Agent Executor. * Uses a toolchain to book meetings, list available slots, etc. * Uses OpenAI functions to better enforce JSON-parsable output from the LLM. */ @@ -49,7 +49,7 @@ const agent = async ( */ const executor = await initializeAgentExecutorWithOptions(tools, model, { agentArgs: { - prefix: `You are Cal AI - a bleeding edge scheduling assistant that interfaces via email. + prefix: `You are Cal.ai - a bleeding edge scheduling assistant that interfaces via email. Make sure your final answers are definitive, complete and well formatted. Sometimes, tools return errors. In this case, try to handle the error intelligently or ask the user for more information. Tools will always handle times in UTC, but times sent to users should be formatted per that user's timezone. diff --git a/apps/ai/src/utils/sendEmail.ts b/apps/ai/src/utils/sendEmail.ts index 799428091e..adbc9693e7 100644 --- a/apps/ai/src/utils/sendEmail.ts +++ b/apps/ai/src/utils/sendEmail.ts @@ -27,7 +27,7 @@ const send = async ({ cc, from: { email: from, - name: "Cal AI", + name: "Cal.ai", }, text, html, diff --git a/packages/app-store/cal-ai/DESCRIPTION.md b/packages/app-store/cal-ai/DESCRIPTION.md index 1e53224a4d..b368b2dfd9 100644 --- a/packages/app-store/cal-ai/DESCRIPTION.md +++ b/packages/app-store/cal-ai/DESCRIPTION.md @@ -4,3 +4,9 @@ items: --- {DESCRIPTION} + +Example questions: + +- Send an email with the title: What's my schedule? +- Forward an email from someone looking to meet you +- \ No newline at end of file diff --git a/packages/app-store/cal-ai/api/_getAdd.ts b/packages/app-store/cal-ai/api/_getAdd.ts index bf9e10038d..b263e28768 100644 --- a/packages/app-store/cal-ai/api/_getAdd.ts +++ b/packages/app-store/cal-ai/api/_getAdd.ts @@ -18,7 +18,7 @@ export async function getHandler(req: NextApiRequest, res: NextApiResponse) { const caller = viewerRouter.createCaller(ctx); const apiKey = await caller.apiKeys.create({ - note: "Cal AI", + note: "Cal.ai", expiresAt: null, appId: "cal-ai", }); diff --git a/packages/app-store/cal-ai/config.json b/packages/app-store/cal-ai/config.json index 73300dfef1..379835c76e 100644 --- a/packages/app-store/cal-ai/config.json +++ b/packages/app-store/cal-ai/config.json @@ -1,15 +1,15 @@ { "/*": "Don't modify slug - If required, do it using cli edit command", - "name": "Cal AI", + "name": "Cal.ai", "slug": "cal-ai", "type": "cal-ai_automation", "logo": "icon.svg", "url": "https://cal.ai", "variant": "automation", "categories": ["automation"], - "publisher": "Rubric Labs", - "email": "hi@cal.ai", - "description": "Cal AI is a scheduling assistant powered by GPT. Email hi@cal.ai to chat with your calendar or book, edit and cancel meetings.", + "publisher": "Cal.com, Inc.", + "email": "support@cal.com", + "description": "Cal.ai is your AI scheduling assistant. Get your personal email assistant (username@cal.ai) that you can forward emails to or have a conversation with. Cal.ai will automatically schedule meetings for you.", "isTemplate": false, "__createdUsingCli": true, "__template": "basic", diff --git a/packages/app-store/cal-ai/package.json b/packages/app-store/cal-ai/package.json index eb41283882..3cde71d537 100644 --- a/packages/app-store/cal-ai/package.json +++ b/packages/app-store/cal-ai/package.json @@ -10,5 +10,5 @@ "devDependencies": { "@calcom/types": "*" }, - "description": "Cal AI is a scheduling assistant powered by GPT. Email hi@cal.ai to chat with your calendar or book, edit and cancel meetings" + "description": "Cal.ai is your AI scheduling assistant. Get your personal email assistant (username@cal.ai) that you can forward emails to or have a conversation with. Cal.ai will automatically schedule meetings for you." } diff --git a/packages/app-store/cal-ai/static/1.jpg b/packages/app-store/cal-ai/static/1.jpg index e1b59a995b..67c14226b8 100644 Binary files a/packages/app-store/cal-ai/static/1.jpg and b/packages/app-store/cal-ai/static/1.jpg differ diff --git a/packages/app-store/cal-ai/static/icon.svg b/packages/app-store/cal-ai/static/icon.svg index dd457ba4e2..169e2f6ea5 100644 --- a/packages/app-store/cal-ai/static/icon.svg +++ b/packages/app-store/cal-ai/static/icon.svg @@ -1,470 +1,461 @@ - - - - - - - + + + + + + - - + + - - + + - - + + - - + + - - + + - - + + + + - - + + - - + + - - + + - - - + + - - + + - - - - + + - - + + - - + + - - + + + + + + + - - + + + + + + - - + + + + + + - - + + - - + + - - + + - - - - - - - + + - - - - - - + + - - - - - - - - - - - - + + + + + + + - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - + + + - + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + +