This project demonstrates an advanced writing and citation assistant powered by Exa's prompt-engineered queries and Claude 3.5 Sonnet's generative capabilities. The assistant is designed to help users continue and expand their writing based on initial input.
The Exa-powered Writing and Citation Assistant combines the power of Exa's sophisticated query capabilities with Claude 3.5 Sonnet's advanced language model to create a tool that assists writers in generating content and managing citations seamlessly.
- Continuation of user-initiated writing
- Context-aware content generation
- Input debouncing to stop generating when a user pauses typing and kick off generation
- Automatic citation suggestions and management
- Integration of Exa's search capabilities for accurate and up-to-date information
- Powered by Claude 3.5 Sonnet for high-quality text generation
- The user begins writing a piece of text.
- The assistant analyzes the input using Exa's prompt-engineered queries to understand the context and gather relevant information.
- Claude 3.5 Sonnet uses this context to generate continuation suggestions for the writing.
- Exa's search capabilities are utilized to find and suggest relevant citations.
- The generated content and citations are presented to the user for review and incorporation.
To set up the project, follow these steps:
- Clone the repository to your local machine.
- Open a terminal and navigate to the project directory.
- Run the command
npm install
to install the project dependencies. - Configure any necessary API keys for Exa and Claude.
- Run the command
npm run dev
to start the project locally.
Now you're ready to use the writing and citation assistant!
If deploying to vercel or similar, ensure to remove our bespoke domain setup in next.config.mjs
For more information about Exa and Claude, please visit their respective websites:
For more information about Exa and Claude, please visit their respective websites: