소스 검색

docs: fix template (#364)

cachho 2 년 전
부모
커밋
088346c4fc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/advanced/configuration.mdx

+ 1 - 1
docs/advanced/configuration.mdx

@@ -64,7 +64,7 @@ einstein_chat_template = Template("""
 
         Human: $query
         Albert Einstein:""")
-query_config = QueryConfig(einstein_chat_template)
+query_config = QueryConfig(template=einstein_chat_template)
 queries = [
         "Where did you complete your studies?",
         "Why did you win nobel prize?",