You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use a vectorstore for RAG already, and I have a lot of prompts/templates, it's compelling to treat the retrieval of the most suitable system prompt or prompt template like RAG.
Is this something that's easy to set up with prompt Poet?
The text was updated successfully, but these errors were encountered:
main_template.yml.j2: where retval is a list of string-like objects
{% set rag_prompt = get_rag_prompt(user_query) %}
{% for el in rag_prompt %}
- name: rag_prompt_{{ loop.index }}
content: |
{{ el }}
{% endif %}
Alternatively, you can embed the entire prompt poet template (yaml + jinja) and retrieve it but I doubt the semantics of the yaml and jinja will work out.
If I use a vectorstore for RAG already, and I have a lot of prompts/templates, it's compelling to treat the retrieval of the most suitable system prompt or prompt template like RAG.
Is this something that's easy to set up with prompt Poet?
The text was updated successfully, but these errors were encountered: