Skip to content

Commit

Permalink
Add new environment variables for zeroshot api
Browse files Browse the repository at this point in the history
  • Loading branch information
Robi9 committed Aug 21, 2023
1 parent 23dac3f commit 363583b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions runtime/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ type Config struct {
WenichatsServiceURL string `help:"wenichats external api url for ticketer service integration"`

FlowStartBatchTimeout int `help:"timeout config for flow start batch"`

ZeroshotAPIToken string `help:"secret token for zeroshot API authentication and authorization"`
ZeroshotAPIUrl string `help:"zeroshot API base url"`
}

// NewDefaultConfig returns a new default configuration object
Expand Down Expand Up @@ -130,6 +133,9 @@ func NewDefaultConfig() *Config {
WenichatsServiceURL: "https://chats-engine.dev.cloud.weni.ai/v1/external",

FlowStartBatchTimeout: 15,

ZeroshotAPIToken: "",
ZeroshotAPIUrl: "http://engine-ai.dev.cloud.weni.ai/",
}
}

Expand Down

0 comments on commit 363583b

Please sign in to comment.