andelf / andelf/PyAIML

Aimlparser does not pass the value of BOT_NAME

Offen
#3 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
346
Forks
170
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

In aimlparser.py, while parser process the tag, it only cascade the string "BOT_NAME" to self._current ... So, the aiml agent will not respond the user for the inputs embedded agent's name. for example, assume the agent is named as Chancy, users' utterance is "Chancy你好" and one pattern is 你好, the agent will not respond the user because the aimlparser only replace the bot tag with BOT_NAME instead of bot name assignment like in the kernel.py

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.