RavenclawDev: RavenClawDev: reusing agents in another part of a tree

Svetlana Stenchikova sveta at cs.sunysb.edu
Mon Oct 2 12:32:40 EDT 2006


Hi,

I would like to reuse the agents for requesting date/time in another
branch of my dialog tree. These agents may have slightly different prompts
and fill out different concepts (of the same type). Is it possible to
implement this without the duplication of the agents?

thank you


To illustrate, my tree is as following:



DECLARE_AGENT(CTask)
	DECLARE_AGENT(CHowMayIHelpYou)
	DECLARE_AGENT(CHowMayIHelpYouAgain)
	DECLARE_AGENT(CDebugInformCommand)
	DECLARE_AGENT(CTaskAddEvent)
		DECLARE_AGENT(CGetQuery)
			DECLARE_AGENT(CRequestDateTime)
 	      			DECLARE_AGENT(CRequestWhen)
				DECLARE_AGENT(CRequestDay)
				DECLARE_AGENT(CRequestTime)
				DECLARE_AGENT(CRequestSpecificTimes)
				DECLARE_AGENT(CRequestStartTime)
				DECLARE_AGENT(CRequestEndTime)
				DECLARE_AGENT(CDisambiguateDate)
						DECLARE_AGENT(CRequestUnambiguousDate)
						DECLARE_AGENT(CNeitherDate)
						DECLARE_AGENT(CFirstDate)
						DECLARE_AGENT(CSecondDate)
						DECLARE_AGENT(CPastDate)
				DECLARE_AGENT(CWrongTimeOrder)
				DECLARE_AGENT(CComputeEndTimeFromDuration)
				DECLARE_AGENT(CWrongDuration)
		DECLARE_AGENT(CDBAddEvent)
		DECLARE_AGENT(CInformAddedEvent)
	DECLARE_AGENT(CTaskListEvents)
		DECLARE_AGENT(CQueryFilter)
			DECLARE_AGENT(CInformQueryFilter)
			DECLARE_AGENT(CConfirmQueryFilter)
				DECLARE_AGENT(CRequestQueryEventsDateTime)
/*here would be a duplication of the CRequestDateTime  branch*/
				DECLARE_AGENT(CRequestQueryEventsType)
		DECLARE_AGENT(CDBGetEvents)
		DECLARE_AGENT(CListEvents)
	DECLARE_AGENT(CExpectAddCommand) /* add event command*/
	DECLARE_AGENT(CExpectQueryCommand) /* add event command*/


---------------------------------------------------------
Svetlana Stenchikova, Ph.D. Candidate
Computer Science Department, Stony Brook University
http://cs.sunysb.edu/~sveta
sveta at cs.sunysb.edu
---------------------------------------------------------



More information about the Ravenclaw-developers mailing list