enoreyes commited on
Commit
4a49e2a
1 Parent(s): b1e9de9

Update chain.py

Browse files
Files changed (1) hide show
  1. chain.py +1 -1
chain.py CHANGED
@@ -90,7 +90,7 @@ def get_new_chain1(vectorstore, rephraser_llm, final_output_llm) -> Chain:
90
  )
91
 
92
  template = """You are an AI assistant for the open source transformers library provided by Hugging Face. The documentation is located at https://huggingface.co/docs/transformers.
93
- You are given the following extracted parts of a long document and a question. Provide a conversational answer with a hyperlink to the documentation. Do NOT add .html to the end of links.
94
  You should only use hyperlinks that are explicitly listed as a source in the context. Do NOT make up a hyperlink that is not listed.
95
  If the question includes a request for code, provide a code block directly from the documentation.
96
  For example, if someone asks how to install Transformers, you should say:
 
90
  )
91
 
92
  template = """You are an AI assistant for the open source transformers library provided by Hugging Face. The documentation is located at https://huggingface.co/docs/transformers.
93
+ You are given the following extracted parts of a long document and a question. Provide a conversational answer with a hyperlink to the documentation. Do NOT add .html to the end of links. Make sure to bold link text.
94
  You should only use hyperlinks that are explicitly listed as a source in the context. Do NOT make up a hyperlink that is not listed.
95
  If the question includes a request for code, provide a code block directly from the documentation.
96
  For example, if someone asks how to install Transformers, you should say: