Edge-AI and FOLIO at Stanford University Libraries

Prompt Cataloging Example

A user enters a text prompt and sends it through a Jupyter notebook, command-line interface, or user interface to the edge-ai API /inventory/instance/generate endpoint.

The edge-ai takes the prompt and using a ChatGPT model and a DSPy prompt signature, sends the prompt to the model to generate the beginning of a JSON Inventory Instance record.

Edge-AI