tmc / langchaingo

LangChain for Go, the easiest way to write LLM-based programs in Go
https://tmc.github.io/langchaingo/
MIT License
5k stars 643 forks source link

openai: add support for sending Structured Output request for chat completions api #986

Closed takeyamakenta closed 2 months ago

takeyamakenta commented 3 months ago

https://openai.com/index/introducing-structured-outputs-in-the-api/

PR Checklist

kei01234kei commented 3 months ago

@tmc Could u review this pr? I'm looking forward to using structured output in langchaingo!!