Skip to content

How-to: launch aichat #80

@sualeh

Description

@sualeh

Discussed in schemacrawler/SchemaCrawler#1999

Originally posted by mattgagliardi August 9, 2025
Can anyone provide a brief step-by-step for running the aichat option? I've tried to get it working with multiple Docker containers as well as the installed Windows package...unfortunately the only output I seem to end up with is Error: Unknown command <aichat>. I've successfully connected to my DB with both Docker Compose setups and via the interactive shell...I feel like I kinda "get" what to do, which is why I'm really mystified here. TIA!

Have attempted this with:

  • SchemaCrawler 16.26.3 (installed on Windows)
  • schemacrawler/schemacrawler:early-access-release
  • schemacrawler/schemacrawler-ai:early-access-release

My Docker Compose is:

services:

  schemacrawler:
    image: schemacrawler/schemacrawler:early-access-release
    stdin_open: true
    tty: true
    environment:
      OPENAI_API_KEY: "<valid_key>"
    volumes:
    - type: bind
      source: C:\Users\mattg\Documents\schcrwlr
      target: /home/schcrwlr
    entrypoint: [ '/opt/schemacrawler/bin/schemacrawler.sh' ]
    command: >
      --url 'jdbc:sqlserver://server-716.lan;instanceName=SQLSTD;databaseName=database1;encrypt=false'
      --user sa
      --password '<valid_pw>'
      --info-level standard
      --command aichat
      --log-level WARNING

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions