Skip to content
Discussion options

You must be logged in to vote

Sorry you're having trouble with this, but with the information you've given us this is pretty hard to debug.

To be clear, is "another message" input, or do you get an error message? If you get no error message, can you kill the server to get a backtrace to show where it was stuck? Or can you add logging?

How many items are you iterating over here? How many items are in intent_basic_info and then in each of the "message" members? Calculating similarity in a nested for loop is generally very slow, and you should use something like annoy instead.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@leinad9905
Comment options

@polm
Comment options

Answer selected by leinad9905
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage General spaCy usage third-party Third-party packages and services feat / vectors Feature: Word vectors and similarity
2 participants
Converted from issue

This discussion was converted from issue #11690 on October 24, 2022 03:10.