ShareShortcuts
Создать форк «Offline Ai»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы mepfiter получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
14K
Сохранено
0
Действия
61
Категория
API
Версия
1.0
Язык
EN

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

История версий
1.0 22 июн 2025 г.

First release

Что делает

Действий: 61
  1. Show Alert
    Loading..
  2. Find Notes
  3. If
  4. Show Alert
    New user Detected!
  5. Create Note
  6. Show Alert
    IMPORTANT
  7. If
  8. Repeat
  9. Choose from Menu
    Hello there!
  10. Choose from Menu
    Start a Chat
  11. Show Alert
    Important
  12. Repeat
  13. Text
  14. Open Note
  15. Ask for Input
    Ask On-Device Anything! (Cancel to leave chat, limit response per chat is 200, your number of response used is …)
  16. Append to Note
  17. Append to Note
  18. If
  19. Show Result
  20. Generate Image
    com.apple.GenerativePlaygroundApp
  21. Append to Note
  22. Append to Note
  23. If
  24. If
  25. Replace Text
  26. Choose from Menu
    Sure let's use writing tools for "…" what would you like to change?
  27. Choose from Menu
    Adjust Tone of Text
  28. Adjust Text Tone
    com.apple.WritingTools.WritingToolsAppIntentsExtension
  29. Choose from Menu
    Make list from Text
  30. Make List From Text
    com.apple.WritingTools.WritingToolsAppIntentsExtension
  31. Choose from Menu
    Make table from Text
  32. Make Table From Text
    com.apple.WritingTools.WritingToolsAppIntentsExtension
  33. Choose from Menu
    Proofread Text
  34. Proofread Text
    com.apple.WritingTools.WritingToolsAppIntentsExtension
  35. Choose from Menu
    Rewrite Text
  36. Rewrite Text
    com.apple.WritingTools.WritingToolsAppIntentsExtension
  37. Choose from Menu
    Summarize Text
  38. Summarize Text
    com.apple.WritingTools.WritingToolsAppIntentsExtension
  39. Replace Text
  40. Replace Text
  41. Text
  42. Show Result
  43. Append to Note
  44. Append to Note
  45. If
  46. If
  47. Text
  48. Show Result
  49. If
  50. Use Model
  51. Show Result
  52. Append to Note
  53. Append to Note
  54. Choose from Menu
    Hidden Commands
  55. Text
  56. Show Result
  57. Choose from Menu
    Settings
  58. Choose from Menu
    Settings
  59. Choose from Menu
    Update Log
  60. Text
  61. 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

См. все

Вам также может понравиться

См. все
Реклама