$ python main.py
Loading weights: 100%|██████████████████████| 199/199 [00:00<00:00, 8887.85it/s]
BertModel LOAD REPORT from: BAAI/bge-small-en-v1.5
Key | Status | |
------------------------+------------+--+-
embeddings.position_ids | UNEXPECTED | |
Notes:
- UNEXPECTED: can be ignored when loading from different task/architecture; not ok if you expect identical arch.
/Users/zohar/ai-code-review/rag.py:32: LangChainDeprecationWarning: The class `Chroma` was deprecated in LangChain 0.2.9 and will be removed in 1.0. An updated version of the class exists in the `langchain-chroma package and should be used instead. To use it run `pip install -U `langchain-chroma` and import as `from `langchain_chroma import Chroma``.
vectorstore = Chroma(
INFO: Started server process [69681]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
import rag
if __name__ == "__main__":
rag.update_knowledge_base()
$ python update_kb.py
BertModel LOAD REPORT from: BAAI/bge-small-en-v1.5
Key | Status | |
------------------------+------------+--+-
embeddings.position_ids | UNEXPECTED | |
Notes:
- UNEXPECTED: can be ignored when loading from different task/architecture; not ok if you expect identical arch.
/Users/zohar/ai-code-review/rag.py:33: LangChainDeprecationWarning: The class `Chroma` was deprecated in LangChain 0.2.9 and will be removed in 1.0. An updated version of the class exists in the `langchain-chroma package and should be used instead. To use it run `pip install -U `langchain-chroma` and import as `from `langchain_chroma import Chroma``.
vectorstore = Chroma(
处理源: Sky750串口自测软件(Python版) (/Users/zohar/Documents/iw/sky750-serial/)
更新文件: /Users/zohar/Documents/iw/sky750-serial/requirements.txt
/Users/zohar/ai-code-review/rag.py:203: LangChainDeprecationWarning: Since Chroma 0.4.x the manual persistence method is no longer supported as docs are automatically persisted.
vectorstore.persist()
添加了 1 个文档块
更新文件: /Users/zohar/Documents/iw/sky750-serial/README.md
添加了 4 个文档块