Sui Generis
Since the public release of the OpenAI API, I've wanted to do something with it. However, my learning works better when I set a purpose beyond the infamous 'Hello World,' even though in many cases, that's enough.
The Snap
The idea behind this proof of concept was meant to be the simplicity of the mechanics. That's when I came across the following post by Marcelo Gaspar on LinkedIn:
From this premise, I'd like to highlight two comments that served as the sparks guiding me in defining the library's purpose:
"Very similar to Socrates' three sieves... I believe it uses the same basic principle. Makes total sense", Alex Tavares.
"Is it true? Is it good? Is it useful? An algorithm available for over two thousand years with various names like 'Socrates' Triple Filter,' 'Buddha's Right Speech,' 'Confucius' Trusted Disciple,' etc, etc. It's worth checking out the originals too ;-)", Alisson Vale, in his share of Marcelo Gaspar's post.
In addition to the comment, Alisson added the article "Socrates' Triple Filter Test" by Alex Chen, where the author discusses the topic.
The Materialization
It was based on these philosophical guidelines that the Lensophy (Lens + Philosophy) was conceived: a tool for analyzing the intensity of communication and, when appropriate, suggesting a mild and friendly option, always promoting good communication.
Its simplicity can be illustrated as follows:
Technically Speaking
As I mentioned at the beginning, the library's goal is not to be a reference, have commercial appeal, save sea turtles, or prevent deforestation in the Amazon. Devoid of ethical judgment and behavioral rules, the package is nothing more than an idea used for learning the OpenAI API.
But anyone would be able to do this!
Of course! And I'm 'anyone.' That's why I did it. =)
Therefore, any and all contributions are welcome, whether it's about improving my code, suggestions for organization or advanced techniques, or simply ideas. Use the Issue Tracker for that. I read and respond to all.
I'd like to give an honorable mention to Gabriel Guarnieri Cardoso, who, even without knowing who I was, accepted my LinkedIn connection request and helped me understand how to communicate secrets (tokens) between GIT and a .Net application, which had me puzzled for hours. It was spot-on. Thank you.
Disclaimer
If you have been mentioned here and wish to have your name dissociated from the origin of the library, please let me know.