This project is a Laravel application that utilizes OpenAI embeddings for searching through PDF documents. It allows you to convert PDF files into searchable vectors using OpenAI's text-embedding models, and perform efficient searches based on user input.
- Convert PDF files into text and extract relevant information.
- Generate vector representations using OpenAI embeddings for efficient search.
- Search through PDF documents using natural language queries.
- Retrieve relevant chunks of text based on similarity scores.
- Utilize cosine similarity for accurate search results.
- Seamless integration with Laravel framework.
- PHP >= 7.4
- Laravel >= 8.0
- OpenAI API key
- Clone the repository.
- Install the required dependencies via Composer.
- Configure your OpenAI API key in the
.env
file. - Run the database migrations.
- Start the Laravel development server.
For detailed installation instructions and usage examples, please refer to the documentation.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project relies on the power of OpenAI embeddings for text analysis and search capabilities. We would like to express our gratitude to the OpenAI team for providing such an amazing technology.
For any inquiries or questions, please contact [email protected]. We would be happy to assist you.