Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support of parsing multi-line text #1094

Merged
merged 7 commits into from
May 18, 2023
Merged

Conversation

wizd
Copy link
Contributor

@wizd wizd commented May 2, 2023

for example, an image generator may need the following input. the current regex can not match multi line text.

I need to generate an image of the Mona Lisa in the style of traditional Chinese painting.
Action: image-generator
Action Input: 
{
  "Subject": "Mona Lisa",
  "Style": "Chinese traditional painting",
  "Color": "Mainly wash tones of ink, with small color blocks in some parts",
  "Details": "Mona Lisa should have long hair, a silk dress, holding a fan. The background should have mountains and trees.",
  "Emotion": "Serene and elegant"
}

@vercel
Copy link

vercel bot commented May 2, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview May 18, 2023 4:01pm

@nfcampos nfcampos added the lgtm PRs that are ready to be merged as-is label May 18, 2023
@nfcampos
Copy link
Collaborator

Thanks!

@nfcampos nfcampos merged commit 4a826a3 into langchain-ai:main May 18, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm PRs that are ready to be merged as-is
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants