Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add mergify config #38

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# see:
# - https://github.com/FullStackWithLawrence/aws-openai/settings/installations
# - https://docs.mergify.com/getting-started/
pull_request_rules:
- name: automatic approve dependabot pull requests
conditions:
- "author~=dependabot[bot]|dependabot-preview[bot]|dependabot"
actions:
review:
type: APPROVE

- name: automatic merge dependabot pull requests
conditions:
- "author~=dependabot[bot]|dependabot-preview[bot]|dependabot"
- "#approved-reviews-by>=1"
- "base=main" # replace 'main' with the name of the branch you want to auto-merge into
actions:
merge:
method: merge
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
"""Setup for hybrid_search_retriever package."""
"""Setup for openai_embeddings package."""
from setuptools import find_packages, setup

from setup_utils import get_semantic_version # pylint: disable=import-error


setup(
name="hybrid_search_retriever",
name="openai_embeddings",
version=get_semantic_version(),
description="""A Hybrid Search and Augmented Generation prompting solution using
Python [OpenAI](https://openai.com/) embeddings sourced from
Expand All @@ -16,7 +16,7 @@
author_email="[email protected]",
packages=find_packages(),
package_data={
"hybrid_search_retriever": ["*.md"],
"openai_embeddings": ["*.md"],
},
install_requires=[
"langchain>=0.0.341",
Expand Down
Loading