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:
https://github.com/sharingan-no-kakashi/orange-intelligence/...
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.