Skip to content

Basic HTTP service facilitating communication with the Mistral AI model

License

Notifications You must be signed in to change notification settings

dev5c32373043/ai-genesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 The first shot in the leg with an AI (Llama Index, Ollama, Mistral)

This project serves as a basic HTTP service facilitating communication with the Mistral AI model. The /api/generate endpoint is available via [POST] and accepts a JSON body containing a 'text' field. Submitting data to this endpoint prompts the Mistral AI model to generate a response based on the provided input.

🚀 Getting started

To start the project install all dependencies in the requirements section.

Then download mistral:instruct model:

ollama pull mistral:instruct

Install Python dependencies:

pip install -r requirements.txt

And finally start the dev server:

flask run --debug

Requirements

About

Basic HTTP service facilitating communication with the Mistral AI model

Topics

Resources

License

Stars

Watchers

Forks

Languages