|
ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
|
RAG query and response types. More...
#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | foresthub::rag::QueryRequest |
| Request parameters for a RAG similarity query. More... | |
| struct | foresthub::rag::QueryResult |
| A single document chunk returned from a RAG query. More... | |
| struct | foresthub::rag::QueryResponse |
| Response from a RAG query containing matching document chunks. More... | |
Namespaces | |
| namespace | foresthub |
| Top-level namespace for the ForestHub SDK. | |
| namespace | foresthub::rag |
| Retrieval-augmented generation: retriever interface and query types. | |
Functions | |
| std::string | foresthub::rag::FormatContext (const std::vector< QueryResult > &results) |
| Format query results as XML context block for LLM prompt injection. | |
RAG query and response types.