async function chatPrompt(workspace, user = null) {
  const basePrompt =
    workspace?.openAiPrompt ??
    "Given the following conversation, relevant context, and a follow up question, reply with an answer to the current question the user is asking. Return only your response to the question given the above information following the users instructions as needed.";
  return await SystemPromptVariables.expandSystemPromptVariables(
    basePrompt,
    user?.id
  );
}
Returns the base prompt for the chat. This method will also do variable
substitution on the prompt if there are any defined variables in the prompt.
@param {Object|null} workspace - the workspace object
@param {Object|null} user - the user object
@returns {Promise<string>} - the base prompt