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

Semantic Search API #12105

Merged
merged 7 commits into from
Jun 23, 2024
Merged

Semantic Search API #12105

merged 7 commits into from
Jun 23, 2024

Conversation

hunterjm
Copy link
Contributor

@hunterjm hunterjm commented Jun 21, 2024

This implements the API to search events.

@blakeblackshear
Copy link
Owner

Do you think we can leverage the nginx caching instead of adding flask-caching?

@hunterjm
Copy link
Contributor Author

Do you think we can leverage the nginx caching instead of adding flask-caching?

The idea was to cache only the vector db search to support pagination on the frontend. Nearest neighbor has to search everything, but it limited the regular DB query.

I removed for now to simplify a little bit.

@hawkeye217
Copy link
Collaborator

Do you think we can leverage the nginx caching instead of adding flask-caching?

The idea was to cache only the vector db search to support pagination on the frontend. Nearest neighbor has to search everything, but it limited the regular DB query.

I removed for now to simplify a little bit.

Looks good!

@NickM-27 NickM-27 merged commit 5b761ea into blakeblackshear:0.14.1 Jun 23, 2024
6 checks passed
@hunterjm hunterjm deleted the ss_api branch June 23, 2024 14:34
hunterjm added a commit to hunterjm/frigate that referenced this pull request Jun 24, 2024
* initial event search api implementation

* fix lint

* fix tests

* move chromadb imports and pysqlite hotswap to fix tests

* remove unused import

* switch default limit to 50

* fix events accidently pulling inside chroma results loop
NickM-27 pushed a commit that referenced this pull request Jul 2, 2024
* initial event search api implementation

* fix lint

* fix tests

* move chromadb imports and pysqlite hotswap to fix tests

* remove unused import

* switch default limit to 50

* fix events accidently pulling inside chroma results loop
NickM-27 pushed a commit that referenced this pull request Jul 9, 2024
* initial event search api implementation

* fix lint

* fix tests

* move chromadb imports and pysqlite hotswap to fix tests

* remove unused import

* switch default limit to 50

* fix events accidently pulling inside chroma results loop
NickM-27 pushed a commit that referenced this pull request Jul 9, 2024
* initial event search api implementation

* fix lint

* fix tests

* move chromadb imports and pysqlite hotswap to fix tests

* remove unused import

* switch default limit to 50

* fix events accidently pulling inside chroma results loop
NickM-27 pushed a commit that referenced this pull request Jul 13, 2024
* initial event search api implementation

* fix lint

* fix tests

* move chromadb imports and pysqlite hotswap to fix tests

* remove unused import

* switch default limit to 50

* fix events accidently pulling inside chroma results loop
spanner3003 pushed a commit to spanner3003/frigate that referenced this pull request Jul 13, 2024
* initial event search api implementation

* fix lint

* fix tests

* move chromadb imports and pysqlite hotswap to fix tests

* remove unused import

* switch default limit to 50

* fix events accidently pulling inside chroma results loop
NickM-27 pushed a commit that referenced this pull request Jul 18, 2024
* initial event search api implementation

* fix lint

* fix tests

* move chromadb imports and pysqlite hotswap to fix tests

* remove unused import

* switch default limit to 50

* fix events accidently pulling inside chroma results loop
NickM-27 pushed a commit that referenced this pull request Jul 24, 2024
* initial event search api implementation

* fix lint

* fix tests

* move chromadb imports and pysqlite hotswap to fix tests

* remove unused import

* switch default limit to 50

* fix events accidently pulling inside chroma results loop
NickM-27 pushed a commit that referenced this pull request Jul 24, 2024
* initial event search api implementation

* fix lint

* fix tests

* move chromadb imports and pysqlite hotswap to fix tests

* remove unused import

* switch default limit to 50

* fix events accidently pulling inside chroma results loop
NickM-27 pushed a commit that referenced this pull request Jul 24, 2024
* initial event search api implementation

* fix lint

* fix tests

* move chromadb imports and pysqlite hotswap to fix tests

* remove unused import

* switch default limit to 50

* fix events accidently pulling inside chroma results loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants