ChefsKit is an online AI Bot that can suggest recipe based on the ingredients someone has right now
This project uses the Hugging Face Inference API to suggest recipes based on a list of ingredients provided by the user. It leverages the Mistral-8x7B-Instruct model to generate responses formatted in markdown for easy rendering.
- Accepts a list of ingredients as input.
- Suggests a recipe based on the provided ingredients.
- Allows for the inclusion of additional ingredients where necessary.
- Outputs responses in markdown format.
- React with Vite bundler
- Hugging Face Inference API
- JavaScript ES6
- CSS
-
Clone the Repository
git clone https://github.com/rifat328/ChefsKit.git cd chefskit -
Install Dependencies Ensure you have Node.js installed. Then run:
npm install
-
Set up Environment Variables
- Add your Hugging Face access token on API_KEY.env:
- copy and paste your api key on this field your_huggingface_access_token
VITE_HF_ACCESS_TOKEN_2= your_huggingface_access_token
- Start the Development Server
npm run dev
- on input field type your ingredient list and enter
- enter at least 4 ingredient then
- press Generate Button and wait .
- now Scroll and follow alonge the recipe.
- HTTP 429: Too Many Requests
- Rate limit errors are logged to the console. To mitigate, ensure API calls are spaced out or use a caching mechanism.
- API Token Errors Ensure the Hugging Face token in the .env file is valid and active.
- This project is licensed under the GNU GENERAL PUBLIC LICENSE Version 3. See the LICENSE file for details.

