datastore/providers/analyticdb_datastore.py [226:235]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            for row in data:
                document_chunk = DocumentChunkWithScore(
                    id=row["id"],
                    text=row["content"],
                    score=float(row["similarity"]),
                    metadata=DocumentChunkMetadata(
                        source=row["source"],
                        source_id=row["source_id"],
                        document_id=row["document_id"],
                        url=row["url"],
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



datastore/providers/pgvector_datastore.py [132:143]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                for row in data:
                    document_chunk = DocumentChunkWithScore(
                        id=row["id"],
                        text=row["content"],
                        # TODO: add embedding to the response ?
                        # embedding=row["embedding"],
                        score=float(row["similarity"]),
                        metadata=DocumentChunkMetadata(
                            source=row["source"],
                            source_id=row["source_id"],
                            document_id=row["document_id"],
                            url=row["url"],
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



