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

discussion: Should we implement hybrid search in llama index integration? #294

Open
gaocegege opened this issue Jan 22, 2024 · 0 comments
Open

Comments

@gaocegege
Copy link
Member

https://github.com/run-llama/llama_index/blob/main/llama_index/vector_stores/postgres.py#L56

pgvector implements a hard-coded hybrid search approach.

            text_search_tsv = Column(  # type: ignore
                TSVector(),
                Computed(
                    "to_tsvector('%s', text)" % text_search_config, persisted=True
                ),
            )

I am not sure if we should support it too in https://github.com/run-llama/llama_index/blob/main/llama_index/vector_stores/pgvecto_rs.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant