Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature suggestion: Shortcuts action #35

Open
avvocati-e-mac opened this issue Mar 2, 2024 · 5 comments
Open

Feature suggestion: Shortcuts action #35

avvocati-e-mac opened this issue Mar 2, 2024 · 5 comments

Comments

@avvocati-e-mac
Copy link

It would be useful some minimal action to intrigate with Shortcuts via the app.

@AugustDev
Copy link
Owner

Can you share some example flows that you would like to use?

@avvocati-e-mac
Copy link
Author

avvocati-e-mac commented Mar 3, 2024 via email

@AugustDev
Copy link
Owner

Hi @avvocati-e-mac thank you so much for sharing this interesting workflow. It seems the images are missing from the message, it would be great if you can share it.

I think I get the rough idea. Few questions

  • You would like an Action which accepts text or image, processes it via Enchanted(Ollama) and returns the response back?
  • What exactly do you send to Ollama right now - text and image?
  • How do you currently process PDF?

Best

@avvocati-e-mac
Copy link
Author

Sorry @AugustDev , I replied via email 😅

Here is the image (I hope… 🤞🏻)

photo_2024-03-08 07 26 49

For your question:

  • Yes, I would like an Action which accepts text or image, processes it via Enchanted(Ollama) and returns the response back;
  • I tested only text;
  • I use the builtin action of Shortcuts to extract the text of the PDF and then pass it to the API, I didn't chunck the text;

I rapidly check and via API it's possible to send image in coded in base64 that also Shortcuts can handle link here. I'll try it as soon as I can.

Al the best and thanks for the response!

@AugustDev
Copy link
Owner

Thank you for the detail explanation @avvocati-e-mac. It should be fairly easy to support and seems like an interesting idea.

Enchanted already supports images for models that allow it (llama and baklava currently).

Let me give it a go next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants