LangChain - LangSmith Observability
You want to compare prompt versions that include conditional logic, like:
- prompt_v1: 'If the text is long, summarize briefly: {text}'
- prompt_v2: 'Summarize the text: {text}'
How can you implement this conditional prompt logic in Langchain to compare versions?
