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
chore: pinecone response to DocumentChunkWithScore (#395)
When dealing with Pinecone occurs sporadically situations where `metadata["text"]` contains a datetime object somehow.
This raises an Internal Error since Pydantic is unable to create a DocumentChunkWithScore object.
We force the typing to str to fix this.
Example:
```
{'matches': [{'id': '68_1',
'metadata': {'document_id': '68',
'text': datetime.date(2265, 12, 1)},
'score': 0.760368824,
'values': []},
```
0 commit comments