Skip to content

Commit

Permalink
Merge pull request #777 from NVIDIA/fix/colang-2/remove-intent-from-l…
Browse files Browse the repository at this point in the history
…lm-library

Remove the user intent from llm library module
  • Loading branch information
cparisien authored Oct 2, 2024
2 parents dc0fbe0 + a32f42f commit 50f320c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions nemoguardrails/colang/v2_x/library/llm.co
Original file line number Diff line number Diff line change
Expand Up @@ -334,16 +334,3 @@ flow execute llm instruction $instructions
match FlowStarted(flow_id=$flow_info.name, flow_instance_uid=$new_flow_instance_uid) as $event_ref
match $event_ref.flow.Finished()
await RemoveFlowsAction(flow_ids=[$flow_info.name])


@meta(user_intent=True)
flow user requested a task
user said "do something"
or user said "can you do something"
or user said "please do"


flow custom instructions
user requested a task
$instructions = await GetLastUserMessageAction()
execute llm instruction $instructions

0 comments on commit 50f320c

Please sign in to comment.