mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-29 19:18:53 +00:00
# Fix subclassing OpenAIEmbeddings
Fixes #4498
## Before submitting
- Problem: Due to annotated type `Tuple[()]`.
- Fix: Change the annotated type to "Iterable[str]". Even though
tiktoken use
[Collection[str]](
|
||
---|---|---|
.. | ||
__init__.py | ||
aleph_alpha.py | ||
base.py | ||
cohere.py | ||
fake.py | ||
google_palm.py | ||
huggingface_hub.py | ||
huggingface.py | ||
jina.py | ||
llamacpp.py | ||
openai.py | ||
sagemaker_endpoint.py | ||
self_hosted_hugging_face.py | ||
self_hosted.py | ||
sentence_transformer.py | ||
tensorflow_hub.py |