Open ethayu opened 4 days ago
Found this: https://github.com/huggingface/chat-ui/pull/949, but seems to only support time
and date
. Would be great if something like {{ query }}
was supported, and secondly we could query {{url=123.123.123.12:8000/{{ query }}}}
, or something like that.
Alternatively, maybe {{url=123.123.123.12:8000/}}
could pass the query as part of the request body (as mentioned already)
https://github.com/huggingface/chat-ui/issues/611 would also make it doable.
Trying to integrate RAG as an assistant. Thinking of using a template variable that makes a GET request (with the prompt as the request body), to get the relevant documents as context. Is this possible (i.e. there is a special variable in the system prompt page for the user query), or is there a better way of doing this?