The floating windows function processes all callable objects defined in the extensions package as text-handling functions.
This repository provides the backbone structure that makes it all possible. Users only need to add their custom logic as a Python callable in the format (input_text: str, *kwargs) -> str anywhere within the extensions package!
For example, implementing an OpenAI call is as simple as defining a function like this:
The function should accept a string as input and return a string as output, containing the proper implementation (e.g., HTTP calls, prompts, etc.). It's straightforward and intentionally left minimal.
Everyone is welcome to contribute, add their requirements, and customize the code to fit their specific needs with Orange Intelligence.
Ok so the answer is that these integrations are not implemented, even if the configuration has a field for an OpenAI API key (obviously just as an example).
Thank you for clarifying. Good luck with this project! I'll keep an eye on it and see how it evolves.
[Disclaimer: I am the author] I completely agree—I wouldn’t install it either without reviewing the code first! Thank you for being the first person to provide feedback on my tool; I really appreciate it.
Here’s how it currently works:
Press the Option key twice.
A floating window appears.
Select the action you want to perform.
Press Enter—the window closes, and the text is replaced.
reply