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

fixed two typos #122

Merged
merged 6 commits into from
Mar 13, 2024
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
2 changes: 2 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ jobs:
run: |
pylint bookworm/*.py
pylint bookworm/**/*.py
pylint scripts/*.py



# Next step: run the unit tests with code coverage.
Expand Down
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Here is an example when you input Agatha Christie:

![Author-1](walkthrough_images/walkthrough_image1.jpg)

OR There is an option "Most popular books by my favorite author" which generates recommened books only within that
OR There is an option "Most popular books by my favorite author" which generates recommended books only within that
requested author, sorted by a user-rating analysis. Use the sliders at the bottom to exclude books that have lower ratings or not many reviews. Keep in mind
this may return less than 10 results.

Expand All @@ -48,7 +48,7 @@ Users can also input a description of a book they enjoyed and our model will giv
Click on the "Books similar to my favorite plot" option, and search away!
(Please be patient, it is doing work behind the scenes!)

For example: You could search for "dectives solve murders from long ago"
For example: You could search for "detectives solve murders from long ago"

![Plot1](walkthrough_images/WalkthroughImage6.png)

Expand Down
2 changes: 1 addition & 1 deletion scripts/Embeddings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Needed to do this for the use of a general exception to deal with broad API errors.
# pylint: disable=W0718,W0621
# pylint: disable=W0718,W0621,E0401,C0103
"""
This script processes a dataset of book summaries to generate and utilize embeddings
for semantic analysis, leveraging the voyageai API for embedding generation.
Expand Down
4 changes: 4 additions & 0 deletions scripts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Initializes API KEY in the init
"""

import os
from dotenv import load_dotenv

Expand Down
Loading