-
Notifications
You must be signed in to change notification settings - Fork 0
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
Pg vector db #59
Pg vector db #59
Conversation
async def _wait_1s_then_open_browser(): | ||
await asyncio.sleep(1) | ||
webbrowser.open(f"http://localhost:{port}") | ||
# async def _wait_1s_then_open_browser(): | ||
# await asyncio.sleep(1) | ||
# webbrowser.open(f"http://localhost:{port}") | ||
|
||
asyncio.create_task(_wait_1s_then_open_browser()) | ||
# asyncio.create_task(_wait_1s_then_open_browser()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
meant to leave these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh whoops - ya it wasn't working right on my pc.
if __name__ == "__main__": | ||
Engine().migrate() | ||
@retry_on_exception() | ||
def query(self, query: str, active_checksums: set[str]) -> list[dict[str, Any]]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the active_checksums will be all documents from a given repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All active documents from a repo - so you might have 3 or 4 versions from different branches, and it'll only be the one currently active.
No description provided.