marshal-dteach / AIBlogger

A website for posting blogs generated through LLM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AIBlogger

It's a simple Python application based on django framework and OLLAMA API to post AI blogging content online.

Usage

  • Running django application: When running only the django site it will act as a blogpost where users can create accounts and login.
    python django_project/manage.py runserver
  • Running OLLAMA: To run OLLAMA we need to follow the official installation script.
    curl https://ollama.ai/install.sh | sh
  • Running LLM with OLLAMA: Run below commands to download a specific LLM model, these are the models which are supported by OLLAMA https://ollama.ai/library.
    ollama serve
    ollama run mistral

This will start the OLLAMA server to fetch the AI generated content.

Notes

  • Mistral is used in the project currently, which can be changed into llm_prompter.py.
  • "<django_url>/spawn" will generate a new blog and add it to the database.

Requirements

  • Python 3.x

About

A website for posting blogs generated through LLM


Languages

Language:Python 62.1%Language:HTML 34.8%Language:CSS 3.1%