We present Prem AI cookbook. The cookbook consists of a set of examples and use cases which you can apply with ease using the Prem platform. Additionally, we also show our presence in the popular Generative AI open-source community. Examples in our cookbook also show how we can use Langchain, llama-index, Stanford DSPy, and Qdrant in building different use cases or just swap out your LLM/embedding provider with Prem in just a few lines of code. |
Recipe Name | Description | Tutorial |
---|---|---|
Chat with PDF | Simple chat with PDF using Prem AI SDK and Streamlit. Learn how to create a simple chat with PDF application in just 100 lines of code. | Link |
Chat with SQL | Chat with Postgres SQL Tables using Prem AI and llama-index. | Link |
Text-2-SQL | Using Prem AI and DSPy to generate SQL from natural text query. | Link |
URL Summarizer | URL Summarizer with Langchain and Prem AI. | Link |
Arxiv ML QnA | ArXiv paper search and QnA using PremAI, DSPy, and Qdrant. | Link |
We welcome contributions to the Prem AI Cookbook! If you have a recipe or an improvement to share, please follow these guidelines to contribute:
-
Join our Official Discord Server
-
Fork the Repository: Start by forking the repository to your GitHub account.
-
Create a Branch: Create a new branch for your contribution:
git checkout -b my-new-recipe
-
Make Your Changes: Implement your recipe or improvement. Please follow the structure and coding standards used in the repository.
-
Update Documentation: Ensure your recipe includes clear instructions and explanations in the README file of the corresponding directory. Include any necessary images or screenshots in the
assets
directory. -
Test Your Recipe: Verify that your recipe works as expected. If applicable, include a test script or instructions on how to test it.
-
Commit Your Changes: Commit your changes with a descriptive commit message:
git commit -m "Add new recipe for XYZ"
-
Push to Your Fork: Push your changes to your forked repository:
git push origin my-new-recipe
-
Create a Pull Request: Open a pull request to the main repository. Provide a clear description of your changes and the purpose of your contribution.
Contributors who are contributing to some good use cases are eligible for extra credits to carry out their experimentation and community contributions for cookbook. Reach out to us on discord if your credits get's exhausted on those cases.
Stay tuned for updates and new recipes! We plan to expand the cookbook with more use cases and integrations with various tools and platforms. If you have any suggestions or requests, feel free to open an issue on GitHub.