cylcc06

Results 14 comments of cylcc06

使用下面方法没有问题。 ``` @Override public void changeLikeTime(String srcId, String targetId) { RealmLikeBean srcBean = mRealm.where(RealmLikeBean.class).equalTo("id",srcId).findFirst(); RealmLikeBean targetBean = mRealm.where(RealmLikeBean.class).equalTo("id",targetId).findFirst(); mRealm.beginTransaction(); long srcBeanTime = srcBean.getTime(); srcBean.setTime(targetBean.getTime()); targetBean.setTime(srcBeanTime); mRealm.commitTransaction(); } ```

补充: 添加知识库时候,chroma日志如下: 2024-05-11 00:04:08 INFO: [10-05-2024 16:04:08] 192.168.65.1:42476 - "POST /api/v1/collections/3d890992-f4db-4c35-aa1d-1896682cbdc1/query HTTP/1.1" 200 2024-05-11 00:09:40 INFO: [10-05-2024 16:09:40] Collection collection_24 is not created. 2024-05-11 00:09:40 INFO: [10-05-2024 16:09:40] 192.168.65.1:42477 -...

> 嵌入模型:nomic-embed-text:latest 对话模型:llama/llama3:latest > > URL: /api/models/chat User: null Chat with knowledge base with id: 23 Knowledge base aaa with embedding "nomic-embed-text:latest" Creating embeddings for Ollama served model: nomic-embed-text:latest Creating...

+1 M4 max ragflow-server | ./entrypoint.sh: line 19: 19940 Illegal instruction $PY rag/svr/task_executor.py $1

it works but very slow [recognize_png_mac_v1.py](https://github.com/user-attachments/files/23359620/recognize_png_mac_v1.py)

@B1tMaster it works.thinks. macbook m4-max arm64 ``` git clone https://github.com/infiniflow/ragflow.git cd ragflow Dockfile set: ARG NEED_MIRROR=1 .env Uncomment and set: MACOS=1 .env add: _JAVA_OPTIONS=-XX:UseSVE=0 OPENBLAS_CORETYPE=generic NUMBA_DISABLE_JIT=1 pip3 install huggingface_hub nltk...

> [@B1tMaster](https://github.com/B1tMaster) it works.thinks. > > macbook m4-max arm64 > > ``` > git clone https://github.com/infiniflow/ragflow.git > cd ragflow > Dockfile set: ARG NEED_MIRROR=1 > .env Uncomment and set: MACOS=1...