REST API for Windows Command.exe

#52
by sturodgers - opened

For the community (I can't be the only one, am I?) using nomic-embed-text's REST API with curl from a Windows Command.exe window, here is the proper syntax:

curl "http://localhost:11434/api/embed/" -d "{"model": "nomic-embed-text", "prompt": "The sky is blue because of Rayleigh scattering"}"

Sign up or log in to comment