chore: standardize historical commit messages to follow Conventional Commits
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
# LLM密钥
|
||||
OPENAI_API_KEY=your_openai_api_key
|
||||
|
||||
# LangSmith 相关配置(用于调试/监控Langgraph流程) -- 未用到可暂时不更改
|
||||
# LangSmith 相关配置(用于调试/监控Langgraph流程) —— 未用到可暂时不更改
|
||||
LANGCHAIN_API_KEY=your_langsmith_api_key
|
||||
@@ -1,5 +1,6 @@
|
||||
name: Python CI
|
||||
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, master ]
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
from pathlib import Path
|
||||
from langchain_huggingface import HuggingFaceEmbeddings
|
||||
|
||||
# 获取embeddings模型 - 首次调用时自动下载
|
||||
# 获取embeddings模型 -- 首次调用时自动下载
|
||||
def get_embeddings(model_name="BAAI/bge-small-zh-v1.5",device="cpu",**kwargs):
|
||||
# 支持更换其他向量化模型
|
||||
local_dir = Path("models")/model_name.replace("/", "_")
|
||||
|
||||
Reference in New Issue
Block a user