Magicen0722

Results 4 comments of Magicen0722

它最近似乎变成了一个Error? langchain版本:langchain-0.0.176 huggingface_hub.py https://github.com/hwchase17/langchain/blob/master/langchain/embeddings/huggingface_hub.py#L58 ``` from langchain.embeddings import HuggingFaceHubEmbeddings import os repo_id = "GanymedeNil/text2vec-large-chinese" hf = HuggingFaceHubEmbeddings( repo_id=repo_id, task="feature-extraction", huggingfacehub_api_token="", ) text = "text2vec模型的原理?" embeddings = hf.embed_query(text) print(embeddings) ``` ```...

把引发错误的检查逻辑删掉可以正常使用,但在部署过程中可能会导致问题?

> : invalid llm config: {'api_key': 'ce3de18xxxxxxxxxxx', 'base_url': 'https://xxxxxxxx.openai.azure.com', 'model': 'gpt-4o', 'client_type': 'maas'}, > > for details: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}} > >...

Does this mean that we need to write the linking method for this model separately?