finish up....
This commit is contained in:
parent
979a393c2c
commit
e2d3dacd5d
2 changed files with 4 additions and 3 deletions
|
@ -35,7 +35,7 @@ function ask(q) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Function to run the publishing commands
|
// Function to run the publishing commands
|
||||||
async function runPublishCommands(sys) {
|
async function runPublishCommands() {
|
||||||
try {
|
try {
|
||||||
// Execute the 'ollama create' command
|
// Execute the 'ollama create' command
|
||||||
const createCommand = `ollama create ${modelID} -f ${modelfilePath}`;
|
const createCommand = `ollama create ${modelID} -f ${modelfilePath}`;
|
||||||
|
@ -137,11 +137,11 @@ ${c}
|
||||||
function createUserContextPart(c) {
|
function createUserContextPart(c) {
|
||||||
return `
|
return `
|
||||||
|
|
||||||
***USER CHATS FOR EXTRA KNOWLEDGE BEGIN***
|
**CHAT INTERACTION FOR EXTRA KNOWLEDGE BEGIN***
|
||||||
|
|
||||||
${c}
|
${c}
|
||||||
|
|
||||||
***USER CHATS FOR EXTRA KNOWLEDGE END***
|
***CHAT INTERACTION FOR EXTRA KNOWLEDGE END***
|
||||||
|
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
@ -249,6 +249,7 @@ async function talkLoop() {
|
||||||
userAGIInput += `AI: ${a.message.content}`;
|
userAGIInput += `AI: ${a.message.content}`;
|
||||||
console.log(`${a.message.content}`)
|
console.log(`${a.message.content}`)
|
||||||
generateModelfile(contexts)
|
generateModelfile(contexts)
|
||||||
|
runPublishCommands()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
0
start.sh
Normal file → Executable file
0
start.sh
Normal file → Executable file
Loading…
Reference in a new issue