Skip to content

Conversation

streamnsight
Copy link
Member

There are several dependencies that should be optional (ads, langchain-openai)
and there are several version requirements that are very stringent and require old apps to be upgraded for lots of packages, making it complicated to switch from the langchain-community version seamlessly

langchain-openai is not a direct dependency, and is only needed when running an OpenAI compatible model with data science service deployment
oracle-ads is also only needed when using Data Science deployment. These are optional requirements
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 15, 2025
@streamnsight
Copy link
Member Author

@YouNeedCryDear
removing unneeded deps and losening current required versions as they do not need to be so stringent, nad make it hard to migrate smoothly.

Copy link
Member

@YouNeedCryDear YouNeedCryDear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think model deployment still requires langchain-openai. cc @lu-ohai @qiuosier @mrDzurb

@qiuosier
Copy link
Member

I think it is OK to remove oracle-ads and langchain-openai as dependencies at the top level. They are not needed if users only want to use the OCI generative AI service.

Users will be prompted (here for langchain-openai and here for oracle-ads) to install them if they uses OCI ModelDeployment.

Maybe we can also make them as optional dependencies.

@streamnsight
Copy link
Member Author

@YouNeedCryDear
Can we get this moving please?
I have been needing to pack the wheel in my projects, and would love to be able to pull from pypi instead.
Let me know if this needs any changes.
Thanks

@YouNeedCryDear YouNeedCryDear merged commit afc8c24 into oracle:main Aug 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants