The DeleteAkb action deletes an AKB topic if the topic’s ID is known.

  ids: str | list[str]


  • ids: The ID of the topic you want to delete.


{{SetManualAkb(personaId=GetAgent(field="id"), summary="summary text", facts=["2 times 2 equals four"],confidence=1, labels="performance_ping_test")}}

{{set(name="akbSemanticId", value=SearchSemanticAkb(query="2 times 2", filterByPersonasIds=GetAgent(field="id"), labels="performance_ping_test", fields="id"))}}



This Skill Script will create an AKB topic, use semantic search to get the topic ID, and then delete the topic. If you’d like to test this out to ensure it works, you can do the following:

  1. Comment out the DeleteAkb action, run the Skill Script, and see that an AKB topic is created.
  2. Uncomment the DeleteAkb action, comment out the SetManualAkb action, run the Skill Script, and check to see if the AKB topic was deleted.