class_docstr: Question-answering using OpenAI or open-source GPT or GPT-like generative LLM models
class_docstr_tok: ["Question-answering","using","OpenAI","or","open-source","GPT","or","GPT-like","generative","LLM","models"]
docstr: ```
  compute MD5 hash
  ```
docstr_tok: ["``","`","compute","MD5","hash","``","`"]
code: def compute_key(self, path: str):
      """
      ```
      compute MD5 hash
      ```
      """
      from paperqa.utils import md5sum
  
      return f"md5:{md5sum(path)}"
  
file_path: ktrain/ktrain/text/qa/generative_qa.py
imports: import sys
  import os
  import pickle
  from typing import Optional
  from pathlib import Path
label_desc: Use image node_id 8 for calling the GenerativeQA obj's underlying member method code with example usage: obj.compute_key(path) and returns: str, md5sum