mirror of
https://github.com/TangentFoxy/.lua-files.git
synced 2024-12-14 19:04:20 +00:00
fixed llm
This commit is contained in:
parent
e9ecceb0b4
commit
93561b460b
5
llm.lua
5
llm.lua
@ -112,7 +112,7 @@ local execute = {
|
|||||||
if query == "" then
|
if query == "" then
|
||||||
return query_model(model)
|
return query_model(model)
|
||||||
else
|
else
|
||||||
print(query_model(model, prompt))
|
print(query_model(model, query))
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
@ -133,9 +133,6 @@ end
|
|||||||
|
|
||||||
-- ollama install command: curl https://ollama.ai/install.sh | sh
|
-- ollama install command: curl https://ollama.ai/install.sh | sh
|
||||||
|
|
||||||
local function query_dolphin(prompt)
|
|
||||||
query_model("dolphin-mixtral", prompt)
|
|
||||||
end
|
|
||||||
-- print(query_dolphin("Say only the word 'cheese'."))
|
-- print(query_dolphin("Say only the word 'cheese'."))
|
||||||
|
|
||||||
-- TEMPORARY creation, need to make this system able to manage models automatically or semi-automatically
|
-- TEMPORARY creation, need to make this system able to manage models automatically or semi-automatically
|
||||||
|
Loading…
Reference in New Issue
Block a user