text
stringlengths
0
3.02k
[3/15/2024 9:56 AM] wildtang3nt
that will build and run your local modifications in a container
[3/15/2024 10:14 AM] crooblix
Thx 👍
[3/15/2024 10:27 AM] mr.headsh0t
@wildtangn:3t I'm seing that basically all the chat database are into a JSON file right?
I'm not an expert, but you don't think that this growing with the time would cause any kind of issue? Let's say there is the chat of 200 people over a year into that file? would it be ok as long as I have enough Drive space?
[3/15/2024 10:29 AM] wildtang3nt
@Michel.K remains to be seen lol 😂 but I'm hoping we'll have other database options and migration scripts before that becomes a problem
{Reactions}
👍
[3/15/2024 10:30 AM] wildtang3nt
SQLite is plenty capable on its own, I think people don't give it enough credit or maybe have outdated conceptions
{Reactions}
👍
[3/15/2024 10:30 AM] wildtang3nt
there's plenty of active development in interesting and innovative ways to use it
[3/15/2024 10:32 AM] wildtang3nt
One little known fact is that the founders of Turso are core Linux contributors that have worked on features relating to the filesystem and handling of large amounts of data, they know their core linux internals very well
{Reactions}
👍
[3/15/2024 10:34 AM] wildtang3nt
Postgres is another likely option at some point, it's popular, uncontroversial, and will cover any cases that SQLite can't do or doesn't do well
[3/15/2024 11:11 AM] mr.headsh0t
https://d3js.org/
@wildtangn:3t this is a lib one of our dev recommended for such project
{Embed}
https://d3js.org/
D3
The JavaScript library for bespoke data visualization
[3/15/2024 11:15 AM] wildtang3nt
Ooh, Observable, ya I've checked them out recently, looks quite cool
[3/15/2024 11:24 AM] mr.headsh0t
The first concern of the our dev is also the size of the JSON file, as a single file let's say you have the chat over a year of 200 personnes... will potentially be heavy to compute... he said that it is oik if there is many small but just 1 huge could be an issue
[3/15/2024 11:26 AM] wildtang3nt
yes I can see this definitely could be an issue eventually
[3/15/2024 11:33 AM] mr.headsh0t
@gpt:1m I'm curious to have your input on this.
How could we monitor each request made from the system to any API.
My first idea was to parse the JSON chat database to generate a graph using https://d3js.org/
But maybe there is another way.
{Embed}
https://d3js.org/
D3
The JavaScript library for bespoke data visualization
[3/15/2024 11:35 AM] mr.headsh0t
That makes me think that another interesting data to monitor would be to know which API is used more than others...
[3/15/2024 11:57 AM] mr.headsh0t
Another idea would be to create another smaller database only for the metric.
We would parse the JSON only once a day for exemple and create a smaller DB for the Metric page
[3/15/2024 2:38 PM] joe.young.security
I modified the open-webui Dockerfile to enable GPU support. Seems like it is working.
[3/15/2024 2:39 PM] joe.young.security
I have some more work to do to trim it down still.
[3/15/2024 2:42 PM] joe.young.security
This is different than the current `docker-compose.gpu.yaml` which enables GPU support for Ollama.
What I did enables GPU accelerating in open-webui so it can use `RAG_EMBEDDING_MODEL_DEVICE_TYPE="cuda"`