Skip to content

Commit

Permalink
Prepare repo for next release (#18)
Browse files Browse the repository at this point in the history
* Prep for next release: add empty CHANGELOG.md and update .gitignore to ignore .idea files

Signed-off-by: Sid Murching <[email protected]>

* Fix typo in package description

Signed-off-by: Sid Murching <[email protected]>

* Add changelog for 0.0.2

Signed-off-by: Sid Murching <[email protected]>

---------

Signed-off-by: Sid Murching <[email protected]>
  • Loading branch information
smurching authored Nov 12, 2024
1 parent 46dfc5b commit 0c27d2e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 25 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ __pycache__

# Editor files
*.vscode
.idea

# Mac
.DS_Store
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# CHANGELOG

## 0.0.2 (2024-11-01)
Initial version of databricks-ai-bridge and databricks-langchain packages

Features:

- Support for Databricks AI/BI Genie via the `databricks_langchain.GenieAgent` API in `databricks-langchain`
- Support for most functionality in the existing `langchain-databricks` under `databricks-langchain`. Specifically, this
release introduces `databricks_langchain.ChatDatabricks`, `databricks_langchain.DatabricksEmbeddings`, and
`databricks_langchain.DatabricksVectorSearch` APIs.
25 changes: 1 addition & 24 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Setting up dev environment

Create a conda environement and install dev requirements
Create a conda environment and install dev requirements

```sh
conda create --name databricks-ai-dev-env python=3.10
Expand All @@ -16,26 +16,3 @@ If you are working with integration packages install them as well
```sh
pip install -e "integrations/langchain[dev]"
```

## Publishing to PyPI

Note: this section is for maitainers only.

We recommend first uploading to test-PyPI

### Publishing core package


```sh
pip install build
python3 -m build --wheel
twine upload dist/*
```

### Publishing integration packages

```sh
cd integrations/langchain
python3 -m build --wheel
twine upload dist/*
```
2 changes: 1 addition & 1 deletion integrations/langchain/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "databricks-langchain"
version = "0.0.2"
description = "Support for Datarbricks AI support in LangChain"
description = "Support for Databricks AI support in LangChain"
authors = [
{ name="Prithvi Kannan", email="[email protected]" },
]
Expand Down

0 comments on commit 0c27d2e

Please sign in to comment.