You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File /lib/python3.11/site-packages/vertexai/language_models/_language_models.py", line 1724, in _prepare_text_embedding_request
raise TypeError(f"Unsupported text embedding input type: {text}.")
TypeError: Unsupported text embedding input type: nan.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
pdf_data_sample["embedding"] =["chunks"].apply(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Could you help to fix?
The text was updated successfully, but these errors were encountered:
@SampathkumarSubramaniam Can you provide the input document that caused the issue? (With any PII redacted)
This issue seems to be because the text sent to the embeddings model was empty
holtskinner
changed the title
Getting TypeError when accessing https://github.com/GoogleCloudPlatform/generative-ai/blob/main/language/use-cases/document-qa/question_answering_documentai_vector_store_palm.ipynb
Getting TypeError when accessing language/use-cases/document-qa/question_answering_documentai_vector_store_palm.ipynbJan 10, 2024
Hello,
Getting below error when accessing https://github.com/GoogleCloudPlatform/generative-ai/blob/main/language/use-cases/document-qa/question_answering_documentai_vector_store_palm.ipynb
Exact code:
Error log:
Could you help to fix?
The text was updated successfully, but these errors were encountered: