langchain/libs/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
..
langchain_experimental Synthetic data generation (#9759) 2023-09-19 16:29:50 -07:00
tests Harrison/stop importing from init (#10690) 2023-09-16 17:22:48 -07:00
Makefile Add data anonymizer (#9863) 2023-08-30 10:39:44 -07:00
poetry.lock Resolve: VectorSearch enabled SQLChain? (#10177) 2023-09-06 17:08:12 -07:00
poetry.toml
pyproject.toml Bagatur/bump 295 (#10785) 2023-09-19 08:22:42 -07:00
README.md Add notice about security-sensitive experimental code to experimental README. (#9936) 2023-08-29 14:21:30 -04:00

🦜🧪 LangChain Experimental

This package holds experimental LangChain code, intended for research and experimental uses.

Warning

Portions of the code in this package may be dangerous if not properly deployed in a sandboxed environment. Please be wary of deploying experimental code to production unless you've taken appropriate precautions and have already discussed it with your security team.

Some of the code here may be marked with security notices. However, given the exploratory and experimental nature of the code in this package, the lack of a security notice on a piece of code does not mean that the code in question does not require additional security considerations in order to be safe to use.