[ACT-R-users] Support needed for using ACT-R RPC

Arun Krishna arunbkris at gmail.com
Mon Jul 13 16:49:25 EDT 2020


Hi Dan,
Thank you very much for the guidance as well as pointing me to the correct
example . The examples in tutoral/python is very helpful.
Regards,
Arun

On Mon, Jul 13, 2020 at 5:14 PM <db30 at andrew.cmu.edu> wrote:

>
>
> --On Saturday, July 11, 2020 1:58 PM -0400 Arun Krishna <
> arunbkris at gmail.com>
> wrote:
>
> >
> >
> > Hi Dan,
> >
> >
> > Thank you very much for the reply.
> > Now I understand that the evaluate method serves the purpose.
> > Can you please give me a simple example invoking add chunk using
> evaluate if
> > it is not taking too much of your time?
> > The examples you are referring is ACT-R\examples\connections\python I
> assume,
> > but this one gives a reference for invoking act-r-version
> >
> > "send(sock,'{"method":"evaluate","params":["act-r-version"],"id":1}')"
> >
> >
>
>
> The Python interface provided with the tutorial is in the tutoral/python
> directory, and the file actr.py implements the interface.
>
> There isn't a command called "add chunk".  There are commands called
> "define-chunks", "add-dm", "add-dm-fct", and possibly others depending
> on exactly what you want to happen.  You can find the details in the
> reference manual along with the parameters that they would be passed.
>
> To evaluate one you would send the the evaluate method with the params
> set to a list with the name of the command, the name of a model or a
> null/false marker to indicate the current model, then the parameters
> as needed for the command.
>
> Dan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.srv.cs.cmu.edu/pipermail/act-r-users/attachments/20200713/ee511109/attachment.html>


More information about the ACT-R-users mailing list