Skip to content

Commit

Permalink
Fix questions about introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
EltonCN committed Oct 18, 2024
1 parent d73f62b commit dc2b288
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/Introduction to CST-Python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
"source": [
"But, a agent can't do nothing with only data. `Codelets` are elements of the architecture that process data, executing the agent's cognitive processes.\n",
"\n",
"Each Codelet can have some input and output memories. They can also be local or global, we will only use local inputs/outputs in this example."
"Each Codelet can have any number of inputs and outputs memories. They can also be local or global, we will only use local inputs/outputs in this example."
]
},
{
Expand All @@ -234,7 +234,9 @@
"For creating a codelet, we need to define the methods:\n",
"- `access_memory_objects`: gets all the memories the codelet is going to use, localizable by name.\n",
"- `calculate_activation`: computes the codelet's activation. We are not going to use this now.\n",
"- `proc`: the actual function that the codelet performs, reading from the inputs, processing and setting the outputs."
"- `proc`: the actual function that the codelet performs, reading from the inputs, processing and setting the outputs.\n",
"\n",
"It is important to note that the codelet should only get inputs in the `access_memory_objects`, not in `proc`. The content of the memories (info) can be accessed everywhere."
]
},
{
Expand Down

0 comments on commit dc2b288

Please sign in to comment.