create_ method

Future<RAGServiceState> create_(
  1. ClientContext? ctx,
  2. RAGConfiguration request
)

Create or reconfigure the logical RAG session from registered model ids and index settings. Commons resolves model ids → on-disk paths via the global model registry; SDK callers MUST register their embedding / LLM / reranker models before invoking Create.

Implementation

$async.Future<RAGServiceState> create_(
        $pb.ClientContext? ctx, RAGConfiguration request) =>
    _client.invoke<RAGServiceState>(
        ctx, 'RAG', 'Create', request, RAGServiceState());