fRAGme.api.v1.cmd
.cmd_ask_question
- class fRAGme.api.v1.cmd.cmd_ask_question(request: CmdAskQuestionRequest, current_user: Annotated[User, Depends(get_current_active_user)])
Endpoint to ask a question against a vector store.
- Parameters:
request – A request object containing parameters.
- Returns:
A ChatAction element with the role and the content of the answer.
- Raises:
HTTPException – Generic internal server error.