code: from lancedb.pydantic import LanceModel, Vector
  from lancedb.embeddings import EmbeddingFunctionRegistry
  
  registry = EmbeddingFunctionRegistry.get_instance()
  func = registry.get("openai").create()
  
  
  class Questions(LanceModel):
      question: str = func.SourceField()
      vector: Vector(func.ndims()) = func.VectorField()
  
apis: lancedb.embeddings.EmbeddingFunctionRegistry.get_instance
extract_api: [((117, 157), 'lancedb.embeddings.EmbeddingFunctionRegistry.get_instance', 'EmbeddingFunctionRegistry.get_instance', ([], {}), '()\n', (155, 157), False, 'from lancedb.embeddings import EmbeddingFunctionRegistry\n')]