Skip to content

How to configure Custom Embedding Provider #557

Answered by drazvan
NirnayK asked this question in Q&A
Discussion options

You must be logged in to vote

@NirnayK : the default implementation is a good reference point: https://github.com/NVIDIA/NeMo-Guardrails/blob/main/nemoguardrails/embeddings/basic.py.

And to respond to your questions:

  1. The text is the text of the chunk.
  2. In the meta it's a dict with different types of info depending on the purpose of the index (e.g., body and title for the kb; intent for the user utterances).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@drazvan
Comment options

Answer selected by NirnayK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants