Nils Herzig

Results 77 comments of Nils Herzig

Which browser are you using? serviceWorker.js is a file used to create progressive web apps, but my frontend isn't a progressive web app, haha. I assume your browser tries to...

Can you confirm that this error does not exist when using another browser? If I remember correctly, arc is MacOS only and I don't have an apple device

Hi, I just rewrote the API to use a JSON string for its arguments. ```json {"maxIterations":30,"contextSize":8192,"temperature":0,"modelName":"adrienbrault/nous-hermes2pro:Q8_0","prompt":"how much does a llama weigh?","toolNames":[],"webSearchCategories":[],"session":"6b901452-4230-427a-a3c1-c89de7de6039","amountOfResults":4,"minResultScore":0.5,"amountOfWebsites":10,"chunkSize":300,"chunkOverlap":100} ``` ```http http://localhost:3000/api/stream?settings=%7B%22maxIterations%22%3A30%2C%22contextSize%22%3A8192%2C%22temperature%22%3A0%2C%22modelName%22%3A%22adrienbrault%2Fnous-hermes2pro%3AQ8_0%22%2C%22prompt%22%3A%22how%20much%20does%20a%20llama%20weigh%3F%22%2C%22toolNames%22%3A%5B%5D%2C%22webSearchCategories%22%3A%5B%5D%2C%22session%22%3A%226b901452-4230-427a-a3c1-c89de7de6039%22%2C%22amountOfResults%22%3A4%2C%22minResultScore%22%3A0.5%2C%22amountOfWebsites%22%3A10%2C%22chunkSize%22%3A300%2C%22chunkOverlap%22%3A100%7D ``` The whole session thing is...

The backend (the price of code which tries to connect to ollama) runs inside a docker container. A docker container is like a small virtual computer. This virtual computer has...

Sadly, there isn't a universal working solution for this (that I know of). MacOS and Windows run docker inside a real virtual machine, which makes it hard to set a...

Try this: ```bash docker exec -it localsearchui-backend-dev-1 ip r ``` ![image](https://github.com/nilsherzig/LLocalSearch/assets/72463901/cb8bed02-a270-4f53-a334-6a62d35859bf) The ip in red should be your hosts ip (inside the docker network). On linux this would allow you...

> I was able to solve this on MacOS by adding > > ``` > extra_hosts: > - "host.docker.internal:host-gateway" > ``` > > inside my `docker-compose.yaml` file backend config and...

Docker Desktop as in the GUI application? Works on my dev machine (NixOS) and my test server (ubuntu 22.04) without it still good to know, thanks. i think i will...

Yea i guess i will go with a more simplistic networking setup. People who need something more complex will build something fitting for themselves anyway