eyurtsev / kor

LLM(😽)
https://eyurtsev.github.io/kor/
MIT License
1.6k stars 88 forks source link

Access the final prompt #211

Closed blacksmithop closed 1 year ago

blacksmithop commented 1 year ago

According to my understanding

chain.run(text=("some text input"))

constructs a prompt based on all the parameters defined in the Object which is then sent to OpenAI. Is there any way I can access that final prompt?

eyurtsev commented 1 year ago

Hi @blacksmithop see if this helps https://eyurtsev.github.io/kor/tutorial.html#the-prompt

blacksmithop commented 1 year ago

@eyurtsev it does. Thank you 😄!