Juwume / AI-stylist

LLM based aplication to find what suits you

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI stylist

LLM based aplication to find what suits you

RUN

  1. cd AI-stylist
  2. touch .env
  3. fill .env with your credentials like in .env.example
  4. sudo docker-compose up --build -d

MAIN ENDPOINTS

  • /docs - Fast API swagger
  • /conversation - main endpoint to invoke the GPT API

REDIS scheme

conversation_id - Key to get conversation history Inside it:

    [ # Usual Open AI scheme
        "content": '{ # But the content is stored as a string
            "role": "system" / "user" / "assistant",
            "content": [
                {
                    "type": "text" / "image_url",
                    "text" / "image_url": "example text" / "example image url"
                },
                ...
            ]
        }',
        ...
    ]

About

LLM based aplication to find what suits you


Languages

Language:Python 59.0%Language:Jupyter Notebook 39.6%Language:Dockerfile 1.4%