Skip to content

Commit

Permalink
Ex
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotsayes committed Jul 24, 2024
1 parent 3733f87 commit 841c67e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ai-demo/3_prompt_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function CreatePrompt(systemPrompt, userContent)
]]
end

local userContent = "cats"
local userContent = "dogs"

local prompt = CreatePrompt(
"Tell a short joke on the given topic",
Expand All @@ -29,3 +29,6 @@ Llama.run(
table.insert(JOKE_HISTORY, joke)
end
)

-- Example inference message:
-- https://www.ao.link/#/message/FsScMla3HBpnEJyK8qbINsblfambo56F_83YBNZ5o0E

0 comments on commit 841c67e

Please sign in to comment.