opea-project / GenAIComps

GenAI components at micro-service level; GenAI service composer to create mega-service
Apache License 2.0
22 stars 54 forks source link

Langserve license issue #264

Open eero-t opened 1 week ago

eero-t commented 1 week ago

Langserve is used in:

$ git grep -i langserve
comps/llms/summarization/tgi/llm.py:from langserve.serialization import WellKnownLCSerializer
comps/llms/summarization/tgi/requirements.txt:langserve
comps/llms/text-generation/ollama/requirements.txt:langserve
comps/llms/text-generation/ray_serve/requirements.txt:langserve
comps/llms/text-generation/tgi/requirements.txt:langserve
comps/llms/text-generation/vllm/requirements.txt:langserve
comps/ragas/tgi/requirements.txt:langserve

However, langserve license: https://github.com/langchain-ai/langserve/blob/main/LICENSE

contains limitation which seems to make it unfit for implementing cloud applications:

You may not provide the software to third parties as a hosted or managed service, where the service provides users with access to any substantial set of the features or functionality of the software.

If it's not possible to use a component that allows implementing cloud services (provided to 3rd parties) based on it, at least there should IMHO be:

PS. "LangAIExamples" repo also includes references to langserve, but happily all those files are deprecated.

feng-intel commented 3 days ago

Thanks. I will report this license issue.

eero-t commented 19 hours ago

Moving dependency installation from build time to container startup: https://github.com/opea-project/GenAIComps/pull/274/files

Does not change anything license-wise for the companies that would be using OPEA services. The component is still there when the service is used.

Runtime installation just slows down service startup, and makes legal obligations harder to analyze / more surprising.