Skip to content

sgns::neoswarm::router::PromptAnalyzer

Analyses a prompt string and returns a feature vector used by the router.

#include <prompt_analyzer.hpp>

Public Functions

Name
PromptFeatures Analyze(const std::string & prompt) const
Analyse a prompt and return its feature vector.

Public Functions Documentation

function Analyze

PromptFeatures Analyze(
    const std::string & prompt
) const

Analyse a prompt and return its feature vector.

Parameters:

  • prompt Raw user prompt string.

Return: PromptFeatures struct populated with extracted features.


Updated on 2026-07-25 at 22:56:56 +0000