Skip to content

Commit

Permalink
Add version to langchain_experimental (#11613)
Browse files Browse the repository at this point in the history
Add version to langchain experimental
  • Loading branch information
eyurtsev authored Oct 10, 2023
1 parent 22abeb9 commit c9bce5b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libs/experimental/langchain_experimental/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from importlib import metadata

try:
__version__ = metadata.version(__package__)
except metadata.PackageNotFoundError:
# Case where package metadata is not available.
__version__ = ""
del metadata # optional, avoids polluting the results of dir(__package__)

0 comments on commit c9bce5b

Please sign in to comment.