ZhangShenao
43deed2a95
Improvement[Embeddings] Add dimension support to ZhipuAIEmbeddings ( #25274 )
...
- In the in ` embedding-3 ` and later models of Zhipu AI, it is
supported to specify the dimensions parameter of Embedding. Ref:
https://bigmodel.cn/dev/api#text_embedding-3 .
- Add test case for `embedding-3` model by assigning dimensions.
2024-08-11 16:20:37 -04:00
maang-h
ea505985c4
docs: Standardize ZhipuAIEmbeddings docstrings ( #24933 )
...
- **Description:** Standardize ZhipuAIEmbeddings rich docstrings.
- **Issue:** the issue #24856
2024-08-01 14:06:53 -04:00
xyd
9b3a025f9c
fix https://github.com/langchain-ai/langchain/issues/23215 ( #23216 )
...
fix bug
The ZhipuAIEmbeddings class is not working.
Co-authored-by: xu yandong <shaonian@acsx1.onexmail.com >
2024-06-20 13:04:50 +00:00
maang-h
1055b9a309
community[minor]: Implement ZhipuAIEmbeddings interface ( #22821 )
...
- **Description:** Implement ZhipuAIEmbeddings interface, include:
- The `embed_query` method
- The `embed_documents` method
refer to [ZhipuAI
Embedding-2](https://open.bigmodel.cn/dev/api#text_embedding )
---------
Co-authored-by: Eugene Yurtsev <eugene@langchain.dev >
2024-06-13 19:45:11 -07:00