Sign inSign up

junwatu/clothes-rag

By junwatu

Updated almost 2 years ago

OpenAI RAG demo application

Image
Machine learning & AI
Web servers
0

1.4K

junwatu/clothes-rag repository overview

This a demo app for Clothes RAG.

  1. This docker needs a GridDB server. For ARM machines use this GridDB docker:

    docker pull griddbnet/griddb:arm-5.5.0
    
  2. Please create a .env file containing the following keys:

    OPENAI_API_KEY=
    GRIDDB_CLUSTER_NAME=myCluster
    GRIDDB_USERNAME=admin
    GRIDDB_PASSWORD=admin
    IP_NOTIFICATION_MEMBER=griddb-server:10001
    

    You also need an OpenAI key to make the app work.

  3. Run Docker Compose

    Create a docker-compose.yml and use the setup below:

networks:
 griddb-net:
   driver: bridge

services:
 griddb-server:
   image: griddbnet/griddb:arm-5.5.0
   container_name: griddb-server
   environment:
     - GRIDDB_CLUSTER_NAME=${GRIDDB_CLUSTER_NAME}
     - GRIDDB_PASSWORD=${GRIDDB_PASSWORD}
     - GRIDDB_USERNAME=${GRIDDB_USERNAME}
     - NOTIFICATION_MEMBER=1
     - IP_NOTIFICATION_MEMBER=${IP_NOTIFICATION_MEMBER}
   networks:
     - griddb-net
   ports:
     - "10001:10001" # Expose GridDB port if needed for external access

 clothes-rag:
   image: junwatu/clothes-rag:latest
   container_name: clothes-rag-griddb
   env_file: .env  # Load environment variables from the single .env file
   networks:
     - griddb-net
   ports:
     - "3000:3000" # Expose application port for local access

Tag summary

Content type

Image

Digest

sha256:0f09580c2

Size

719.8 MB

Last updated

almost 2 years ago

docker pull junwatu/clothes-rag