Krutrim Cloud AI Client is Copy-Pasta of OpenAI? 95% similarity in some files
Hi, I recently was intrigued by the work at Ola Krutrim. And I saw that they have their own "krutrim cloud" SDK.
To that effect, i went ahead and searched what the client code did.
Here is the diff of just one random file (_client.py)
https://www.diffchecker.com/eJyh7O1U/
And here's another (_base_client.py)
https://www.diffchecker.com/WC27Xtxw/
For the _base_client.py the OpenAI and Krutrim Cloud share 95% of the string. I don't know the exact fuzzy matching algorithm used (probably something like levenshtein as the online tool https://www.tools4noobs.com/online_tools/string_similarity/ didn't specify the exact algorithm used)
But this piqued my interest and I will go over and find the similarity of each file as well as the overall directory structure.
My issue is not that they have copy pasted the code. Even Groq has done that. But Groq at least uses the Github PR/Issues feature and actively maintains the fork. The Krutrim Cloud library has not received any updates in the last 2 months and if we look at both OpenAI and Groq, they have constant updates. That likely means there are a lot of issues that has been fixed in the OpenAI repo that are still open in Krutrim side of things.
They also changed the signature of the API client so it probably won't work with the OpenAI client libraries.
OpenAI library is Apache 2.0 licensed And so is Groq one.
But Krutrim Cloud Repo contains 2 License files as of now (I have made a fork so they can't push with -f :D )
and one of them is Apache2. Another one is Krutrim Cloud SDK license which is a closed source license Part of that license says this:
- You may not distribute, sell, lease, lend or sublicense the SDK or any Component as an independent product.
- You may not modify, create derivative works, reverse engineer, reverse compile, or disassemble KRUTRIM’s API or the Code/API usage examples in any way other than for the intended purpose stated above. You also agree not to add or delete any program files that would modify the functionality and/or appearance of KRUTRIM’s API or the Code/API usage examples other than for the intended purposes stated above.
Whereas, in the exact same repo ( https://github.com/ola-krutrim/krutrim-cloud-python )
- Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
We also have this statement.
Guys I am a little confused. I want to support made in India AI projects. But as someone who has been following the ML for years and worked in leading teams like alexa, this does not look acceptable :(