What are you doing on top of langchain? More details would be nice.
https://github.com/arc53/docsgpt/blob/main/scripts/ingest_rs...
This is the prompt that is used: https://github.com/arc53/docsgpt/blob/main/application/combi...
And this is where it calls the openai. Looks pretty straightforward. https://github.com/arc53/docsgpt/blob/main/application/app.p...