This is an automated email from the ASF dual-hosted git repository.

skrawcz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hamilton.git


The following commit(s) were added to refs/heads/main by this push:
     new 21757301 add MIT LIcense due to experimental/databackend.py (#1361)
21757301 is described below

commit 21757301479474d96440e27fbc2b0bafa5c415cf
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Aug 7 20:10:46 2025 +0100

    add MIT LIcense due to experimental/databackend.py (#1361)
    
    * add MIT LIcense due to experimental/databackend.py
    
    * another instance
---
 LICENSE                                            | 54 ++++++++++++++++++++++
 .../user/skrawcz/customize_embeddings/README.md    |  2 +-
 .../user/skrawcz/customize_embeddings/__init__.py  | 24 +---------
 3 files changed, 57 insertions(+), 23 deletions(-)

diff --git a/LICENSE b/LICENSE
index 261eeb9e..779e091f 100644
--- a/LICENSE
+++ b/LICENSE
@@ -199,3 +199,57 @@
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
+
+-------------------------------
+
+hamilton/experimental/databackend.py is copied from 
https://github.com/machow/databackend
+and is licensed under the MIT License.
+
+MIT License
+
+Copyright (c) 2024 databackend contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+-------------------------------
+
+contrib/hamilton/contrib/user/skrawcz/customize_embeddings/__init__.py is 
copied
+from https://github.com/openai/openai-cookbook and is licensed under the MIT 
License.
+
+MIT License
+
+Copyright (c) 2025 OpenAI
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git 
a/contrib/hamilton/contrib/user/skrawcz/customize_embeddings/README.md 
b/contrib/hamilton/contrib/user/skrawcz/customize_embeddings/README.md
index 59bad8d8..0acefef1 100644
--- a/contrib/hamilton/contrib/user/skrawcz/customize_embeddings/README.md
+++ b/contrib/hamilton/contrib/user/skrawcz/customize_embeddings/README.md
@@ -1,7 +1,7 @@
 # Purpose of this module
 
 This module is used to customize embeddings for text data. It is based on MIT 
licensed code from
-this [OpenAI 
cookbook](https://github.com/openai/openai-cookbook/blob/main/examples/Customizing_embeddings.ipynb).
+this [OpenAI 
cookbook](https://github.com/openai/openai-cookbook/blob/6d89e11fed344237f07910a98ba98303ece7dd18/examples/Customizing_embeddings.ipynb).
 
 The output is a matrix that you can use to multiply your embeddings. The 
product of this multiplication is a
 'custom embedding' that will better emphasize aspects of the text relevant to 
your use case.
diff --git 
a/contrib/hamilton/contrib/user/skrawcz/customize_embeddings/__init__.py 
b/contrib/hamilton/contrib/user/skrawcz/customize_embeddings/__init__.py
index 69da00ac..23ff9292 100644
--- a/contrib/hamilton/contrib/user/skrawcz/customize_embeddings/__init__.py
+++ b/contrib/hamilton/contrib/user/skrawcz/customize_embeddings/__init__.py
@@ -1,26 +1,6 @@
 """
-The code in this module is based on MIT licensed code from the OpenAI 
cookbook. Since
-this module uses a substantial portion of it, we are including the copyright 
notice below
-as required.
-----------------------------------------------------------------------------------------------
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-----------------------------------------------------------------------------------------------
+The code in this module is based on MIT licensed code from the OpenAI cookbook.
+https://github.com/openai/openai-cookbook/blob/6d89e11fed344237f07910a98ba98303ece7dd18/examples/Customizing_embeddings.ipynb
 """
 
 import logging

Reply via email to