You all wanted a Ai that works offline, do task like normal Ai offline, and help you writing the device, but now there is! Meet offline Ai - Device-On by apples! It’s created to help you offline do tasks, and entertain you, and you want be surprised. It can even help you create images and use writing tools. However this feature only works with apple intelligence due to it being part of apple intelligence.
Update log 1.0 Added offline Ai with 2 hidden features.
Что нового
Версия 1.0
First release
Что делает
Действий: 61-
Show AlertLoading..
-
Find Notes
-
If
-
Show AlertNew user Detected!
-
Create Note
-
Show AlertIMPORTANT
-
If
-
Repeat
-
Choose from MenuHello there!
-
Choose from MenuStart a Chat
-
Show AlertImportant
-
Repeat
-
Text
-
Open Note
-
Ask for InputAsk On-Device Anything! (Cancel to leave chat, limit response per chat is 200, your number of response used is …)
-
Append to Note
-
Append to Note
-
If
-
Show Result
-
Generate Imagecom.apple.GenerativePlaygroundApp
-
Append to Note
-
Append to Note
-
If
-
If
-
Replace Text
-
Choose from MenuSure let's use writing tools for "…" what would you like to change?
-
Choose from MenuAdjust Tone of Text
-
Adjust Text Tonecom.apple.WritingTools.WritingToolsAppIntentsExtension
-
Choose from MenuMake list from Text
-
Make List From Textcom.apple.WritingTools.WritingToolsAppIntentsExtension
-
Choose from MenuMake table from Text
-
Make Table From Textcom.apple.WritingTools.WritingToolsAppIntentsExtension
-
Choose from MenuProofread Text
-
Proofread Textcom.apple.WritingTools.WritingToolsAppIntentsExtension
-
Choose from MenuRewrite Text
-
Rewrite Textcom.apple.WritingTools.WritingToolsAppIntentsExtension
-
Choose from MenuSummarize Text
-
Summarize Textcom.apple.WritingTools.WritingToolsAppIntentsExtension
-
Replace Text
-
Replace Text
-
Text
-
Show Result
-
Append to Note
-
Append to Note
-
If
-
If
-
Text
-
Show Result
-
If
-
Use Model
-
Show Result
-
Append to Note
-
Append to Note
-
Choose from MenuHidden Commands
-
Text
-
Show Result
-
Choose from MenuSettings
-
Choose from MenuSettings
-
Choose from MenuUpdate Log
-
Text
-
Show Result
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#define color red
#define glyph appleIntelligence
alert("Waiting for a server to response..", "Loading..")
rawAction("is.workflow.actions.filter.notes", {
"AppIntentDescriptor": ""
})
if Note['Name'] !contains "Offline Ai" {
alert("You seem to be new!", "New user Detected!")
rawAction("com.apple.mobilenotes.SharingExtension", {
"AppIntentDescriptor": "",
"WFCreateNoteInput": "Offline Ai",
"WFNoteGroup": "",
"folder": ""
})
alert("This is in Beta! You can ask it anything you desire, some questions can be inappropriate and misleading and the Model will respond with a no assist, be sure to make it welcome!", "IMPORTANT ")
} else {
}
repeat _ for 128 {
menu "Hello there!" {
item "Start a Chat":
alert("To access hidden command again type show commands", "Important")
repeat _ for 200 {
const Text = "Offline Ai"
openNote(Text)
const AskForInput = prompt("Ask On-Device Anything! (Cancel to leave chat, limit response per chat is 200, your number of response used is {@RepeatIndex})")
appendNote(Text, "\n-----------------------\n")
appendNote(Text, "You:\n{AskForInput}")
if AskForInput contains "Create a image" || AskForInput contains "Generate a image" || AskForInput contains "Create image" || AskForInput contains "Generate image" {
show("Here is the create image of your prompt!{}")
generateImage(AskForInput)
appendNote(Text, "\n-----------------------\n")
appendNote(Text, "Device-On:\nSure here is a created image of the desired prompt. {}")
} else {
if AskForInput contains "Revise me" {
replaceText("Revise me", ".", AskForInput)
menu "Sure let's use writing tools for \"{AskForInput}\" what would you like to change?" {
item "Adjust Tone of Text":
adjustTextTone(, Ask)
item "Make list from Text":
generateList()
item "Make table from Text":
generateTable()
item "Proofread Text":
generateProofread()
item "Rewrite Text":
generateRewrite()
item "Summarize Text":
generateSummary()
}
replaceText("Write me:", ".", AskForInput)
replaceText("Revise me:", ".", AskForInput)
show()
appendNote(Text, "\n-----------------------\n")
appendNote(Text, "Device-On:\nHere is the revised or rewritten form of your writing: {}")
} else {
if AskForInput contains "Show commands" || AskForInput contains "Show command" {
show()
} else {
askLLM("Always answer questions in english! Here is my question or need of help: {AskForInput}", "Apple Intelligence on Device")
show()
appendNote(Text, "\n-----------------------\n")
appendNote(Text, "Device-on:\n{}")
}
}
}
}
item "Hidden Commands":
show()
item "Settings":
menu "Settings" {
item "Update Log":
show()
}
}
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от mepfiter
Вам также может понравиться
Реклама