-
I am trying to use custom_embedding_search_provider but for some reason it keeps giving me error : ERROR:nemoguardrails.server.api:Access to the specified path is not allowed. I tried it with the exact same config as to https://github.com/NVIDIA/NeMo-Guardrails/tree/develop/tests/test_configs/with_custom_embedding_search_provider but it keeps giving me the same issue. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 17 replies
-
Hi @NirnayK, I assume you are using following command: nemoguardrails server --config=path/to/config Can you share with me which version of nemoguardrails you are using? I think using the absolute path to the config would resolve this issue. |
Beta Was this translation helpful? Give feedback.
-
Also I shifted to 8.x and tried out the config works but it never calls the custom provider. The init function is called but the search function is never called when user sends a query |
Beta Was this translation helpful? Give feedback.
-
@NirnayK, can you try the following: make sure the folder to which you're pointing the server has a subfolder for the config
Maybe there's a bug with the "singe config" mode of the server. |
Beta Was this translation helpful? Give feedback.
@NirnayK, can you try the following: make sure the folder to which you're pointing the server has a subfolder for the config
Maybe there's a bug with the "singe config" mode of the server.