修改README.md以及默认IP

This commit is contained in:
2025-08-25 16:43:37 +08:00
parent 0b50022af1
commit 6477748c43
3 changed files with 21 additions and 3 deletions

View File

@@ -144,7 +144,7 @@ def main():
return
# 2. 初始化ChromaDB客户端和远程嵌入函数
orin_ip = os.getenv("ORIN_IP", "172.101.1.117")
orin_ip = os.getenv("ORIN_IP", "localhost")
embedding_api_url = f"http://{orin_ip}:8090/v1/embeddings"
logging.info(f"正在初始化远程嵌入函数,目标服务地址: {embedding_api_url}")