chatcraft.org icon indicating copy to clipboard operation
chatcraft.org copied to clipboard

import openai messages json

Open tarasglek opened this issue 10 months ago • 2 comments

openai completion endpoint accepts messages in format

{
    "messages": [
      {"role": "system", "content": "systemprompt"},
      {"role": "user", "content": "...."}
    ],
    "model": "gpt-3.5-turbo"
}

Would be great if we could import such json. This would make it easy to debug issues in ai apps with chatcraft.

Similarly, it would be nice to export in this format too

tarasglek avatar Apr 21 '24 15:04 tarasglek