-
Notifications
You must be signed in to change notification settings - Fork 16.1k
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
community/templates: ClickHouse Template #17247
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
thanks! some comments
Thanks - have addressed the comments! |
@efriis does it seem ok now? |
@efriis gentle nudge on this - any chance we could have eyes on this for a merge? Thank you! |
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.
Hey @mneedham ! Two requests:
- can we split this into 2 PRs, one with upgrades to community implementation, and one with the template (the community implementation needs to be released before the template is usable)
- in the community PR, could you add some documentation of what these changes do? docstring on _schema
- some comments below
@@ -72,7 +72,7 @@ class ClickhouseSettings(BaseSettings): | |||
username: Optional[str] = None | |||
password: Optional[str] = None | |||
|
|||
index_type: str = "annoy" | |||
index_type: Optional[str] = "annoy" |
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.
What is this supposed to do? I think this will have unintended consequences in some string substitution stuff lower in the file
You'll also need to install ClickHouse: | ||
|
||
```bash | ||
curl https://clickhouse.com/ | sh |
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.
this looks kinda wild but looks like you serve that script via curl!
|
||
It utilizes Ollama the LLM, GPT4All for embeddings, and ClickHouse for the vectorstore. | ||
|
||
The vectorstore is created in `chain.py` and by default indexes a [blog post about feature stores]([https://lilianweng.github.io/posts/2023-06-23-agent/](https://clickhouse.com/blog/powering-featurestores-with-clickhouse)) for question-answering. |
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.
wrong link text
Closing until community updates make it in |
Description: A RAG template for ClickHouse. Also has a change to let users pass in
index_type
asNone
.Twitter handle: @markhneedham