# TED Architecture Question

**URL:** https://forum.rasa.com/t/ted-architecture-question/47213
**Category:** Getting Started with Rasa
**Created:** [August 25, 2021, 11:10pm UTC](https://forum.rasa.com/t/ted-architecture-question/47213 "2021-08-25T23:10:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sver](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@sver](https://forum.rasa.com/u/sver)
#### Post date: [August 25, 2021, 11:10pm UTC](https://forum.rasa.com/t/ted-architecture-question/47213/1 "2021-08-25T23:10:09Z")

</div>

Hello, this is less of a problem I’m having with Rasa, but more of something that came to mind as I was working with TED; does anyone have a sense of why we use the similarity metric (like StarSpace) to compare actions instead of directly predicting an action from the transformer/FF block – the only thing I can think of is if we use the Action feature vector elsewhere (like in Starspace it’s nice to have the two objects in the same feature space) but here i’m not clear why a cosine similarity would be better than a softmax over the action?
