mirror of https://github.com/hwchase17/langchain
community[patch]: optimize xinference llm import (#25809)
Thank you for contributing to LangChain! - [ ] **PR title**: "community: optimize xinference llm import" - [ ] **PR message**: - **Description:** from xinferece_client import RESTfulClient when there is no importing xinference. - **Dependencies:** xinferece_client - **Why do so:** the total xinference(pip install xinference[all]) is too heavy for installing, let alone it is useless for langchain user except RESTfulClient. The modification has maintained consistency with the xinference embeddings [embeddings/xinference](../blob/master/libs/community/langchain_community/embeddings/xinference.py#L89).pull/25834/head
parent
9decd0b243
commit
3555882a0d
Loading…
Reference in New Issue