langchain/docs/extras/use_cases/more
Mateusz Wosinski a29cd89923
Synthetic data generation (#9759)
### 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>
2023-09-19 16:29:50 -07:00
..
agents Harrison/stop importing from init (#10690) 2023-09-16 17:22:48 -07:00
code_writing Harrison/stop importing from init (#10690) 2023-09-16 17:22:48 -07:00
graph Harrison/stop importing from init (#10690) 2023-09-16 17:22:48 -07:00
self_check use case docs reorder (#10074) 2023-09-05 15:11:16 -07:00
_category_.yml Add use case nb position (#10299) 2023-09-06 15:46:33 -07:00
data_generation.ipynb Synthetic data generation (#9759) 2023-09-19 16:29:50 -07:00