Skip to content

Commit

Permalink
Llm bot id classifier (#1647)
Browse files Browse the repository at this point in the history
* added secret and bot_id in config

* config corrected

* config corrected
  • Loading branch information
sfahad1414 authored Dec 12, 2024
1 parent 521990a commit 5e40c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kairon/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def train_model_for_bot(bot: str):

index = next((index for (index, d) in enumerate(config['pipeline']) if d["name"] == "kairon.nlu.LLMClassifier"), None)
if index:
config[index]['bot_id']= bot
config['pipeline'][index]['bot_id']= bot

rules = processor.get_rules_for_training(bot)
rules = rules.merge(multiflow_stories[1])
Expand Down

0 comments on commit 5e40c45

Please sign in to comment.