DARPA-ASKEM / GoLLM

Service to run GoLLM and define its tools.
Apache License 2.0
1 stars 0 forks source link

Added response format param #48

Closed jryu01 closed 2 months ago

jryu01 commented 3 months ago

Description

Added response format parameter to generate_response so that user can specify the response type. e.g. response_format={"type": "json_object"}

@mwdchang this will help to make sure the chart annotation response from the llm is formatted in json.

Resolves #(issue)