From 63c3cc1f1f2b78eb588e56fb62a7dacb43a2e27f Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Mon, 16 Sep 2024 13:43:04 -0400 Subject: [PATCH] ci: updates issue and discussion templates (#26542) Update issue and discussion templates --- .github/DISCUSSION_TEMPLATE/q-a.yml | 25 ++++++++++--------------- .github/ISSUE_TEMPLATE/bug-report.yml | 24 ++++++++++-------------- 2 files changed, 20 insertions(+), 29 deletions(-) diff --git a/.github/DISCUSSION_TEMPLATE/q-a.yml b/.github/DISCUSSION_TEMPLATE/q-a.yml index d0229b2d7b..ba63d7250d 100644 --- a/.github/DISCUSSION_TEMPLATE/q-a.yml +++ b/.github/DISCUSSION_TEMPLATE/q-a.yml @@ -96,27 +96,22 @@ body: - type: textarea id: system-info attributes: - label: System Info description: | - Please share your system info with us. + Please share your system info with us. Do NOT skip this step and please don't trim + the output. Most users don't include enough information here and it makes it harder + for us to help you. - "pip freeze | grep langchain" - platform (windows / linux / mac) - python version - - OR if you're on a recent version of langchain-core you can paste the output of: + Run the following command in your terminal and paste the output here: python -m langchain_core.sys_info - placeholder: | - "pip freeze | grep langchain" - platform - python version - Alternatively, if you're on a recent version of langchain-core you can paste the output of: + or if you have an existing python interpreter running: - python -m langchain_core.sys_info + from langchain_core import sys_info + sys_info.print_sys_info() - These will only surface LangChain packages, don't forget to include any other relevant - packages you're using (if you're not sure what's relevant, you can paste the entire output of `pip freeze`). + alternatively, put the entire output of `pip freeze` here. + placeholder: | + python -m langchain_core.sys_info validations: required: true diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 707e6d0ae2..4fe94a53c8 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -96,25 +96,21 @@ body: attributes: label: System Info description: | - Please share your system info with us. + Please share your system info with us. Do NOT skip this step and please don't trim + the output. Most users don't include enough information here and it makes it harder + for us to help you. - "pip freeze | grep langchain" - platform (windows / linux / mac) - python version - - OR if you're on a recent version of langchain-core you can paste the output of: + Run the following command in your terminal and paste the output here: python -m langchain_core.sys_info - placeholder: | - "pip freeze | grep langchain" - platform - python version - Alternatively, if you're on a recent version of langchain-core you can paste the output of: + or if you have an existing python interpreter running: - python -m langchain_core.sys_info + from langchain_core import sys_info + sys_info.print_sys_info() - These will only surface LangChain packages, don't forget to include any other relevant - packages you're using (if you're not sure what's relevant, you can paste the entire output of `pip freeze`). + alternatively, put the entire output of `pip freeze` here. + placeholder: | + python -m langchain_core.sys_info validations: required: true