-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No index phone_doc-0520-3 found in Elastic Search #27
Comments
It is a phoneme to entity index that's primarily useful for correcting ASR errors. Since you aren't going to be running the bot with voice, you can ignore the error. But if you want the following python script can create the index for you: Neither of the two errors sound serious enough for the bot to not be working as expected. What kind of replies are you getting? If you can post a couple of examples, I can probably take a guess. |
Thanks for your quick reply! The bot is not able to understand entity names is what I am guessing. These are few examples here from both live demo and my installation Bot doesnt seem to understand famous person, musician etc and also sometimes the context like 'Can we talk about music' which it does in live demo. |
There seems to be something wrong with entity linking.
Since we already know phone_to_doc is throwing an error, that is a suspect and might be interfering with entity linking, so maybe just try indexing using https://github.com/stanfordnlp/chirpycardinal/blob/main/chirpy/core/asr/index_phone_to_ent.py to see if the error goes away. |
Tried this,
The output seems to be coming but maybe it is missing some entities. Please let me know was the input of Meanwhile I will index phone_to_doc and let you know if that improves the accuracy |
Sorry, for the super late reply. I was not available in the meanwhile. Here it seems that you only have 700k articles in the elasticsearch index. Which means not everything got uploaded. I think that's the problem. There is no "Linkin Park" wikipedia page to link to. @anumpamme helped fix an error with the indexing and I just merged it in this commit - ccff9b9 Can you do this? |
I have been trying to run the code locally. All installation steps including Spark are completed successfully. When I run shell_chat, the bot is replying and I am able to chat with it. But there is an error which gets printed as 'No index phone_doc-0520-3 was found in Elastic Search'.
I tried searching in Spark codes I ran where there is no mention of 'phone_doc-0520-3' in 'upload.py' getting created.
What should I do to resolve this? Or do I actually need to resolve it because the bot is already up and running?
Its searching for phone_doc-0520-3 in file chirpy/core/asr/search_phone_to_ent.py .
Separately, (instead of raising another issue, I am asking here itself), the bot replies are okay but not exactly the same as in live demo. The bot does not seem to understand some utterances which it does in the live demo. Am I missing something here?
All docker images have been pulled and containers started. The only thing I have not setup is the twitter opinion database in Postgres (for which it is showing an error in terminal).
Are these two errors (1. No index phone_doc-0520-3 found , 2. No Postgres) responsible for my reduction in accuracy in bot?
Thanks in advance for you reply!
The text was updated successfully, but these errors were encountered: