serve-chat

command module
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

serve-chat

If you are beginning your journey with Senzing, please start with Senzing Quick Start guides.

You are in the Senzing Garage where projects are "tinkered" on. Although this GitHub repository may help you understand an approach to using Senzing, it's not considered to be "production ready" and is not considered to be part of the Senzing product. Heck, it may not even be appropriate for your application of Senzing!

⚠ WARNING: serve-chat is still in development ⚠ _

At the moment, this is "work-in-progress" with Semantic Versions of 0.n.x. Although it can be reviewed and commented on, the recommendation is not to use it yet.

Synopsis

The serve-chat repository serves as a starting point for new repositories hosting Go code. It also shows best practices that can be retro-fitted into existing repositories hosting Go code.

Go Reference Badge Go Report Card Badge License Badge go-test-linux.yaml Badge go-test-darwin.yaml Badge go-test-windows.yaml Badge

golangci-lint.yaml Badge

Overview

Install
  1. Visit Releases page.

  2. For the desired versioned release, in the "Assets" section, download the appropriate installation package.

    1. Use .deb file for Debian, Ubuntu and others
    2. Use .rpm file for Red Hat, CentOS, openSuse and others.
  3. ✏ Example installation for .deb file:

    sudo apt install ./serve-chat-0.0.0.deb
    
  4. ✏ Example installation for .rpm file:

    sudo yum install ./serve-chat-0.0.0.rpm
    
Using Docker
  1. Run Docker image against local SQLite database. Example:

    docker run \
      --env SENZING_TOOLS_ENABLE_ALL=true \
      --env SENZING_TOOLS_DATABASE_URL=sqlite3://na:na@/tmp/sqlite/G2C.db \
      --publish 8262:8262 \
      --rm \
      --volume /tmp/sqlite:/tmp/sqlite \
      senzing/serve-chat
    
    
  2. Open browser on localhost:8252

References

  1. API documentation
  2. Development
  3. Errors
  4. Examples

Documentation

Overview

Module serve-chat is the implementation of the serve-chat prototype.

Directories

Path Synopsis
Package cmd is used for Cobra and Viper integration.
Package cmd is used for Cobra and Viper integration.
Package httpserver serves up HTTP requests.
Package httpserver serves up HTTP requests.
Package senzingchatapi is code generate by ogen.
Package senzingchatapi is code generate by ogen.
Package senzingchatservice has the implementation of the REST API calls.
Package senzingchatservice has the implementation of the REST API calls.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL