何嘉伟

Results comments of 何嘉伟

```embedder.json { "embedder": { "client_class": "OllamaClient", "model_kwargs": { "model": "bge-m3:567m" } }, "embedder_ollama": { "client_class": "OllamaClient", "model_kwargs": { "model": "bge-m3:567m" } }, "retriever": { "top_k": 20 }, "text_splitter": { "split_by":...

1. Currently, I've solved the problem. First, if you're using it in a container or Kubernetes, you need to pay attention to the UI WebSocket address. 2. Second, you need...

> 我也遇到相同的问题了,不懂如何解决 试一下我的法子那

The original code: ``` if request.provider == "ollama": # Get the response and handle it properly using the previously created api_kwargs response = await model.acall(api_kwargs=api_kwargs, model_type=ModelType.LLM) # Handle streaming response...

> > 1. Currently, I've solved the problem. First, if you're using it in a container or Kubernetes, you need to pay attention to the UI WebSocket address. > >...

If the modified code runs, try executing it first. If issues still occur, check the browser’s WebSocket requests. When running inside a container, there’s a high chance the WebSocket may...

@johnpwhite If you’re running the service using a container image, you’ll need to rebuild the frontend code. If you’re running it locally, you must manually update all default frontend URLs....

@johnpwhite Rebuild the frontend during the image build process, then package it into the final container image.

@johnpwhite Got it. I built the image myself. Previously, the image was built using docker-compose.ollama.yml, and Ollama couldn’t use the GPU. Dockerfile-react ``` FROM node:20-alpine AS node_base FROM node_base AS...