Skip to content

ClassificationApi Server(8080 port) cannot classify intent #210

@AkisAya

Description

@AkisAya

Describe the bug

Image

i want to directly call the classify api through 8080 port, but i got wrong answer

Expected behavior
return actual category

Additional context
ClassificationApi Service use the globalClassificationService which initialize a unifiedClassifier, but the api /api/v1/classify/intent of ClassificationAPIServer still use a legacy classifier which is nil. so it always output

{
    "classification": {
        "category": "general",
        "confidence": 0.5,
        "processing_time_ms": 0
    },
    "recommended_model": "general-model",
    "routing_decision": "placeholder_response"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions