code: def test_cosine_distance(self):
      create_items()
      with Session(engine) as session:
          items = session.exec(
              select(Item).order_by(
                  Item.embedding.cosine_distance([1, 1, 1])
              )
          )
          assert [v.id for v in items] == [1, 2, 3]
  
file_path: pgvector-python/tests/test_sqlmodel.py
imports: import numpy
  from pgvector.sqlalchemy import Vector
  import pytest
  from sqlalchemy import Column
  from sqlalchemy.exc import StatementError
  from sqlmodel import Field, Session, SQLModel, create_engine, delete, select, text
  from typing import List, Optional
label_desc: Use image node_id 5 for calling the TestSqlmodel obj's underlying member method code with example usage: obj.test_cosine_distance() without return types