Open kuang1216 opened 8 months ago
你好请问解决了吗?是格式不符还是什么问题,也没有报错 修改了utils.py def get_model( model: str = "http://XXX/v1", #"gpt-3.5-turbo-0613", streaming: bool = True, callbacks: Callbacks = None) -> ChatOpenAI:
model = ChatOpenAI(
streaming=streaming,
verbose=True,
callbacks=callbacks,
openai_api_key="none",
openai_api_base=model,
model_name="XXX"
)
return model
还是会报错:
Retrying langchain_community.embeddings.openai.embed_with_retry.
你好,请问你解决了吗?求指教