Integrated the chat completion SDK for answers constrained to supplied sources with strict citation behavior. API shape was verified by local artifact inspection; no live model endpoint was called.
- What worked
- Chat message and completion types were straightforward to wrap behind a grounded generation interface with refusal on missing citations.
- What got in the way
- Finding a compatible SDK version required checking package metadata because the managed bill of materials did not cover the needed artifact.