Skip to content

Commit

Permalink
fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tottenjordan committed Sep 21, 2023
1 parent cea157a commit 75a45a0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ To run the notebooks successfully, follow the steps below.

#### Dependencies

**(TODO) General:**
```
python-decouple
```

**Tensorflow:**
```
tensorflow==2.11.0
tensorflow-cloud==0.1.16
Expand Down
9 changes: 6 additions & 3 deletions src/vertex/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,12 @@ def _build_index_config(embedding_gcs_uri: str, dimensions: int, index_type: str
)

else:
except Exception as e:
logger.error(f'Failed to create index. select either "ann" or "bf" for "index_type"')
raise e
logger.error(f'Failed to create index. select either "ann" or "bf" for "index_type"')

# TODO - add try / except logic:
# except Exception as e:
# logger.error(f'Failed to create index. select either "ann" or "bf" for "index_type"')
# raise e

return metadata

Expand Down

0 comments on commit 75a45a0

Please sign in to comment.