Skip to main content
We welcome contributions from the community! Whether you’ve built an amazing project with LFM models, discovered a useful technique, or want to improve the cookbook, your contributions help everyone build better AI applications.

How to contribute

There are several ways you can contribute to the LFM Cookbook:

Share your project

Built something with LFM? Add it to the community projects showcase

Improve documentation

Fix typos, clarify explanations, or add missing information

Add examples

Create new tutorials, notebooks, or code examples

Report issues

Found a bug or have a suggestion? Open an issue on GitHub

Submitting a community project

To add your project to the community projects showcase:
1

Prepare your project

Ensure your project:
  • Has a public GitHub repository
  • Includes a clear README with setup instructions
  • Uses LFM models or the LEAP SDK
  • Works as described in the documentation
2

Fork the repository

Fork the LFM Cookbook repository on GitHub
3

Add your project

Edit the README.md file and add your project to the Community Projects section:
| Your Project Name | Brief description of what it does | [Code](https://github.com/your-username/your-repo) |
Keep descriptions concise (under 100 characters) and informative
4

Open a pull request

Submit a pull request with:
  • A clear title: “Add [Your Project Name] to community projects”
  • Brief description of your project in the PR description
  • Link to your GitHub repository
5

Wait for review

The maintainers will review your submission and may ask questions or request changes

Improving documentation

To improve the cookbook documentation:
1

Fork the repository

Fork the LFM Cookbook repository on GitHub
2

Make your changes

Edit the relevant files:
  • Documentation pages are in the docs/ directory
  • Examples and tutorials are in the examples/ and finetuning/ directories
  • Use Markdown (.md or .mdx) for documentation files
3

Test locally

If possible, test your changes locally to ensure formatting is correct
4

Submit a pull request

Open a PR with a clear description of what you’ve changed and why

Adding examples or tutorials

To contribute a new example or tutorial:
1

Choose a category

Decide where your example fits:
  • examples/ for ready-to-run applications
  • finetuning/notebooks/ for training notebooks
  • docs/ for documentation guides
2

Create your content

Follow the structure of existing examples:
  • Include a clear README.md
  • Add setup instructions and prerequisites
  • Provide sample code and outputs
  • Test thoroughly before submitting
3

Submit a pull request

Open a PR with:
  • Description of what your example demonstrates
  • Any dependencies or requirements
  • Screenshots or demo videos if applicable

Community standards

When contributing, please follow these guidelines:
  • Write clean, readable code with comments
  • Follow existing code style and conventions
  • Include error handling and edge cases
  • Test your code before submitting
  • Write clear, concise explanations
  • Include setup instructions and prerequisites
  • Add code comments for complex logic
  • Use proper markdown formatting
  • Ensure your contribution is your own work
  • Respect existing licenses
  • Don’t include proprietary or copyrighted code
  • Be kind and constructive in discussions
  • Welcome feedback and suggestions
  • Help others in the community
  • Follow the code of conduct

Getting help

Need help with your contribution?

Join Discord

Ask questions and get help from the community

Documentation

Read the official Liquid AI documentation

Questions?

If you have questions about contributing, feel free to:
  • Ask in the Discord community
  • Open an issue on GitHub for technical questions
  • Review existing pull requests to see examples
Thank you for contributing to the LFM Cookbook! Your contributions help the entire community build better AI applications.

Build docs developers (and LLMs) love