AI Zone Admin Forum Add your forum

Chatbot Conference London On Oct 3th Erwin will be moderating on the Chatbots conference in London. Why don't you meet him there? As a visitor, you'll get a discount as well: Why don't we meet there? get a discount

We do experience some trouble with our forms and some details page. We'll fix this ASAP. Sorry for the inconvenience!
Storing variables in configuration file


In my CS topic files, i am calling many external services, the url of each service is different, i want to store them using variables in an external file and use them. How can I do that ?

$$url = ^”\“http://localhost:8090/olap/hierarchy/$client_id/\”“

I want to store the above url in external configuration file? How can i do it?


  [ # 1 ]

for small numbers you can store it in cs_init.txt as a variable. the file is one per line.  eg


for large numbers you can store in tab delimited file and use ^JSONREADCSV

and for huge numbers you can read dynamically from a PostGres or Mongo database.


  [ # 2 ]

Thanks Bruce for the reply. May I know what is the location of cs_init.txt config file?


  [ # 3 ]

top level chatscript folder, you have to create this file yourself


  login or register to react