AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Setting variable in regression file
 
 

How do I set a variable to a particular value in a regression file?

 

 
  [ # 1 ]

If, by regression file, you mean things created by :regression, then you dont. It is presumed to be a complete conversation and all variables come via that conversation without variance.  If, instead, you mean to use sample inputs to validate a pattern, then you can assign values on the sample input, like

#! this is my life $happy=true

 

 
  [ # 2 ]

Sorry, I wasn’t very clear.  I meant in the :source file that I use to create the regression file. I found that I could do what I wanted by putting :do $variable=value

 

 
  login or register to react