mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
a29cd89923
### Description Implements synthetic data generation with the fields and preferences given by the user. Adds showcase notebook. Corresponding prompt was proposed for langchain-hub. ### Example ``` output = chain({"fields": {"colors": ["blue", "yellow"]}, "preferences": {"style": "Make it in a style of a weather forecast."}}) print(output) # {'fields': {'colors': ['blue', 'yellow']}, 'preferences': {'style': 'Make it in a style of a weather forecast.'}, 'text': "Good morning! Today's weather forecast brings a beautiful combination of colors to the sky, with hues of blue and yellow gently blending together like a mesmerizing painting."} ``` ### Twitter handle @deepsense_ai @matt_wosinski --------- Co-authored-by: Bagatur <baskaryan@gmail.com> |
||
---|---|---|
.. | ||
more | ||
qa_structured | ||
question_answering | ||
apis.ipynb | ||
chatbots.ipynb | ||
code_understanding.ipynb | ||
extraction.ipynb | ||
summarization.ipynb | ||
tagging.ipynb | ||
web_scraping.ipynb |