Skip to content

Commit 8c2742b

Browse files
Merge pull request #75 from SuffolkLITLab/remove_genai_dep
Remove google.generativeai dependency
2 parents a49b8e8 + ea4a2f7 commit 8c2742b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ This package is designed to support the following workflow:
3434
feedback session linking: True
3535
# Will ask users filling in feedback if they want to be in a panel, and get their email if they want to
3636
ask panel: True
37+
# (optional) If you need better protection from spam feedback,
38+
# adding the below, and installing the `google.generativeai` package
39+
# will use Gemini AI as an additional filter.
40+
google gemini api key: ...
41+
spam model: "gemini-2.0-flash-exp" # the default
3742
```
3843
3944
Note that it is important to provide a list of allowed repository owners.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def find_package_data(where='.', package='', exclude=standard_exclude, exclude_d
5252
license='The MIT License (MIT)',
5353
url='https://courtformsonline.org',
5454
packages=find_namespace_packages(),
55-
install_requires=['docassemble.ALToolbox>=0.6.0', 'google-generativeai'],
55+
install_requires=['docassemble.ALToolbox>=0.6.0'],
5656
zip_safe=False,
5757
package_data=find_package_data(where='docassemble/GithubFeedbackForm/', package='docassemble.GithubFeedbackForm'),
5858
)

0 commit comments

Comments
 (0)