Spaces:
Runtime error
Runtime error
| title: Paul Graham Essay Explorer | |
| emoji: π | |
| colorFrom: purple | |
| colorTo: indigo | |
| sdk: docker | |
| pinned: false | |
| app_port: 7860 | |
| # Paul Graham Essay Explorer π€ | |
| An AI-powered interface for exploring and understanding Paul Graham's essays. This tool uses advanced language models to help you dive deep into PG's insights and ideas. | |
| ## Features π | |
| - **Smart Search**: Ask questions about any of Paul Graham's essays and get AI-powered responses | |
| - **Context-Aware**: The AI understands the full context of PG's writing and can reference specific essays | |
| - **Interactive Chat**: Have natural conversations about PG's ideas and get detailed explanations | |
| - **Essay Exploration**: Discover connections between different essays and themes | |
| ## How to Use π | |
| 1. **Ask Questions**: Type any question about Paul Graham's essays | |
| - "What does PG think about startups?" | |
| - "Explain the concept of 'taste' from his essays" | |
| - "What are his views on wealth creation?" | |
| 2. **Get Insights**: The AI will provide detailed responses with relevant context from the essays | |
| 3. **Follow-up**: Ask follow-up questions to dive deeper into any topic | |
| ## Example Questions π‘ | |
| - "What are PG's main arguments about wealth inequality?" | |
| - "How does he define a good startup idea?" | |
| - "What does he say about the importance of writing?" | |
| - "Explain his concept of 'makers vs managers'" | |
| - "What are his thoughts on programming languages?" | |
| ## Technical Details π§ | |
| - Built with Chainlit and LangChain | |
| - Uses Hugging Face's advanced language models | |
| - Implements RAG (Retrieval Augmented Generation) for accurate responses | |
| - Dockerized for easy deployment | |
| ## Running Locally π οΈ | |
| ```bash | |
| # Clone the repository | |
| git clone [your-repo-url] | |
| # Build and run with Docker | |
| docker build -t pg-explorer . | |
| docker run -p 7860:7860 pg-explorer | |
| ``` | |
| Visit `http://localhost:7860` to start exploring! | |
| ## Contributing π€ | |
| Contributions are welcome! Feel free to: | |
| - Add new features | |
| - Improve the UI/UX | |
| - Enhance the response quality | |
| - Add more essays to the database | |
| ## License π | |
| MIT License - feel free to use this project for your own purposes! | |