Apps
PDF Chat App

PDF Chat App

PDF Chat App is organized like a chat window. The sidebar stores your past interactions, letting you revisit past conversations, pick up where you left off or start with a new PDF.

Just upload your PDF for easy access on the right while you work with the AI.

You can use this app to summarize your PDF, or explain different concepts in the file.

PDF Chat App

Config

You can change config in ./src/configs/apps/pdfChatApp.ts.

// Assistant.
export const PDF_CHAT_APP_ASSISTANT_NAME = '...';
export const PDF_CHAT_APP_ASSISTANT_INSTRUCTIONS = '...';
export const PDF_CHAT_APP_ASSISTANT_TEMPERATURE = ...;
 
// Select language model.
export const PDF_CHAT_APP_LANGUAGE_MODEL = OPENAI_LANGUAGE_MODEL_GPT_4_TURBO;
 
// Minimum value is 256, it must not be too small as the model might require more context from the file.
export const PDF_CHAT_APP_MAX_PROMPT_TOKEN_COUNT = ...;
// Minimum value is 16.
export const PDF_CHAT_APP_MAX_COMPLETION_TOKEN_COUNT = ...;
 
// Rate limit request count per user.
export const PDF_CHAT_APP_RATE_LIMIT_REQUEST_COUNT = ...;
// Rate limit window.
export const PDF_CHAT_APP_RATE_LIMIT_WINDOW = '...';