Best practices: How to contribute to files?
#1351
-
|
Hi there, I am a new user of this project. I could not find information on how to output LLM responses to a file in the docs. Then I read in #1341, that it is possible to |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
Hi @afuetterer, thanks for your interest in PDL! Here's an example that takes the output from an LLM, creates JSON data and outputs the structured data to a file: Hope this helps. Please let us know if you have any further questions. |
Beta Was this translation helpful? Give feedback.
-
|
@afuetterer Thank you for pointing this out! We will fix this and make a release shortly. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you @afuetterer! The release 0.9.1 that is now available should fix the issue. |
Beta Was this translation helpful? Give feedback.
Hi @afuetterer, thanks for your interest in PDL!
Here's an example that takes the output from an LLM, creates JSON data and outputs the structured data to a file:
Hope this helps. Please let us know if you have any further questions.