Sign inSign up

junius/cogbase-demo

By junius

Updated about 1 month ago

Image
0

619

junius/cogbase-demo repository overview

CogBase is a framework for building AI applications from a plain-language description, with structured fact extraction, grounded LLM reasoning, and adaptive self-improvement from usage.

Try it out with the builtin demo apps, or chat to create your own app, ingest your documents and get insights!

#!/usr/bin/env bash
set -euo pipefail

DOCKER_REPO="junius/cogbase-demo"
VERSION="${1:-latest}"
LOCAL_DATA_DIR="${2:-}"

echo "Pulling $DOCKER_REPO:$VERSION"
docker pull "$DOCKER_REPO:$VERSION"

MOUNT_ARGS=""
if [[ -n "$LOCAL_DATA_DIR" ]]; then
  MOUNT_ARGS="-v $LOCAL_DATA_DIR:/data"
fi

echo "Starting cogbase-demo container"
docker run -d \
  --name cogbase-demo \
  -p 8000:8000 \
  $MOUNT_ARGS \
  "$DOCKER_REPO:$VERSION"

echo "Container started: http://localhost:8000"

Tag summary

Content type

Image

Digest

sha256:d80b061fc

Size

244.8 MB

Last updated

2 months ago

docker pull junius/cogbase-demo