class_docstr: Reference: https://replicate.com/meta/llama-2-70b-chat/api
  - `prompt` (string): The prompt to send to the model.
  
  - `system_prompt` (string): The system prompt to send to the model. This is prepended to the prompt and helps guide system behavior. Default value: `You are a helpful assistant`.
  
  - `max_new_tokens` (integer): Maximum number of tokens to generate. Typically, a word is made up of 2-3 tokens. Default value: `128`.
  
  - `min_new_tokens` (integer): Minimum number of tokens to generate. To disable, set to `-1`. A word is usually 2-3 tokens. Default value: `-1`.
  
  - `temperature` (number): Adjusts the randomness of outputs. Values greater than 1 increase randomness, 0 is deterministic, and 0.75 is a reasonable starting value. Default value: `0.75`.
  
  - `top_p` (number): During text decoding, it samples from the top `p` percentage of most likely tokens. Reduce this to ignore less probable tokens. Default value: `0.9`.
  
  - `top_k` (integer): During text decoding, samples from the top `k` most likely tokens. Reduce this to ignore less probable tokens. Default value: `50`.
  
  - `stop_sequences` (string): A comma-separated list of sequences to stop generation at. For example, inputting '<end>,<stop>' will cease generation at the first occurrence of either 'end' or '<stop>'.
  
  - `seed` (integer): This is the seed for the random generator. Leave it blank to randomize the seed.
  
  - `debug` (boolean): If set to `True`, it provides debugging output in logs.
  
  Please note that Replicate's mapping of these parameters can be inconsistent across different models, indicating that not all of these parameters may be available for use with all models.
class_docstr_tok: ["Reference",":","https",":","\/\/replicate.com\/meta\/llama-2-70b-chat\/api","-","`","prompt","`","(","string",")",":","The","prompt","to","send","to","the","model",".","-","`","system_prompt","`","(","string",")",":","The","system","prompt","to","send","to","the","model",".","This","is","prepended","to","the","prompt","and","helps","guide","system","behavior",".","Default","value",":","`","You","are","a","helpful","assistant","`",".","-","`","max_new_tokens","`","(","integer",")",":","Maximum","number","of","tokens","to","generate",".","Typically",",","a","word","is","made","up","of","2-3","tokens",".","Default","value",":","`","128","`",".","-","`","min_new_tokens","`","(","integer",")",":","Minimum","number","of","tokens","to","generate",".","To","disable",",","set","to","`","-1","`",".","A","word","is","usually","2-3","tokens",".","Default","value",":","`","-1","`",".","-","`","temperature","`","(","number",")",":","Adjusts","the","randomness","of","outputs",".","Values","greater","than","1","increase","randomness",",","0","is","deterministic",",","and","0.75","is","a","reasonable","starting","value",".","Default","value",":","`","0.75","`",".","-","`","top_p","`","(","number",")",":","During","text","decoding",",","it","samples","from","the","top","`","p","`","percentage","of","most","likely","tokens",".","Reduce","this","to","ignore","less","probable","tokens",".","Default","value",":","`","0.9","`",".","-","`","top_k","`","(","integer",")",":","During","text","decoding",",","samples","from","the","top","`","k","`","most","likely","tokens",".","Reduce","this","to","ignore","less","probable","tokens",".","Default","value",":","`","50","`",".","-","`","stop_sequences","`","(","string",")",":","A","comma-separated","list","of","sequences","to","stop","generation","at",".","For","example",",","inputting","'","<","end",">",",","<","stop",">","'","will","cease","generation","at","the","first","occurrence","of","either","'end","'","or","'","<","stop",">","'",".","-","`","seed","`","(","integer",")",":","This","is","the","seed","for","the","random","generator",".","Leave","it","blank","to","randomize","the","seed",".","-","`","debug","`","(","boolean",")",":","If","set","to","`","True","`",",","it","provides","debugging","output","in","logs",".","Please","note","that","Replicate","'s","mapping","of","these","parameters","can","be","inconsistent","across","different","models",",","indicating","that","not","all","of","these","parameters","may","be","available","for","use","with","all","models","."]
code: def get_config(cls):
      return {
          k: v
          for k, v in cls.__dict__.items()
          if not k.startswith("__")
          and not isinstance(
              v,
              (
                  types.FunctionType,
                  types.BuiltinFunctionType,
                  classmethod,
                  staticmethod,
              ),
          )
          and v is not None
      }
  
imports: import os, types
  import json
  import requests
  import time
  from typing import Callable, Optional
  from litellm.utils import ModelResponse, Usage
  import litellm
  import httpx
  from .prompt_templates.factory import prompt_factory, custom_prompt
label_desc: Use image node_id 2 for calling the ReplicateConfig obj's underlying member method code with example usage: obj.get_config(cls) and returns: unknown