Skip to content

eunomia-labs/promptex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

promptex

Go

go version >= 1.20

# to install the essential tools
make init

Run make init to install the essential tools.

Quick Start

You can update the config file in cmd/promptex/conf/config.yaml

service:
  name: "promptex"

hertz:
  port: "8880"

logger:
  path: "log"
  level: "debug"
  compress: true

mongodb:
  name: "promptex"
  user: "root"
  password: "root"
  address: "127.0.0.1:27017"

chatgpt:
  api_key: "sk-x"

dalle2:
  api_key: "sk-x"

install mongodb

brew install mongodb-community@5.0

To build and start the promptex service, you need

# to build the promptex service
make build

# to start the promptex service
sh output/bootstrap.sh

or you can just

# to build and start the promptex service
make promptex

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors