langchain/libs/experimental/langchain_experimental
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
..
autonomous_agents Harrison/stop importing from init (#10690) 2023-09-16 17:22:48 -07:00
comprehend_moderation Harrison/string inplace (#10153) 2023-09-03 14:25:29 -07:00
cpal Add security notices on PAL and CPAL experimental chains. (#9938) 2023-08-29 13:51:56 -04:00
data_anonymizer Multilingual anonymization (#10327) 2023-09-07 14:42:24 -07:00
fallacy_removal adding new chain for logical fallacy removal from model output in chain (#9887) 2023-09-03 15:44:27 -07:00
generative_agents
graph_transformers Diffbot Graph Transformer / Neo4j Graph document ingestion (#9979) 2023-09-06 13:32:59 -07:00
llms
pal_chain Add security notices on PAL and CPAL experimental chains. (#9938) 2023-08-29 13:51:56 -04:00
plan_and_execute
prompt_injection_identifier HF Injection Identifier Refactor 2023-09-11 14:44:51 -07:00
prompts
pydantic_v1 poetry lock the experimental package. (#9478) 2023-08-22 14:09:35 -04:00
retrievers Resolve: VectorSearch enabled SQLChain? (#10177) 2023-09-06 17:08:12 -07:00
smart_llm Fixed some grammatical and spelling errors (#10595) 2023-09-14 17:43:36 -07:00
sql Corrected some spelling mistakes and grammatical errors (#10791) 2023-09-19 10:08:59 -07:00
synthetic_data Synthetic data generation (#9759) 2023-09-19 16:29:50 -07:00
tot Corrected some spelling mistakes and grammatical errors (#10791) 2023-09-19 10:08:59 -07:00
__init__.py
py.typed Add py.typed file to langchain-experimental. (#9557) 2023-08-21 15:37:16 -04:00