SDK
learn
Function from @cognitivx/api-client
learn
Kind: Function
Source: packages/api-client/src/endpoints/memory.ts:75
Generated from the TypeScript source for @cognitivx/api-client.
Signature
learn(outcome, metadata)Parameters
[
{
"name": "outcome",
"type": {
"type": "intrinsic",
"name": "string"
},
"summary": ""
},
{
"name": "metadata",
"type": {
"type": "reference",
"target": {
"packageName": "typescript",
"packagePath": "lib/lib.es5.d.ts",
"qualifiedName": "Record"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"name": "Record",
"package": "typescript"
},
"summary": ""
}
]TypeDoc reflection
{
"name": "learn",
"kind": "Function",
"source": "packages/api-client/src/endpoints/memory.ts:75"
}