class_docstr: Reference: https://platform.openai.com/docs/api-reference/completions/create
  
  The class `OpenAITextCompletionConfig` provides configuration for the OpenAI's text completion API interface. Below are the parameters:
  
  - `best_of` (integer or null): This optional parameter generates server-side completions and returns the one with the highest log probability per token.
  
  - `echo` (boolean or null): This optional parameter will echo back the prompt in addition to the completion.
  
  - `frequency_penalty` (number or null): Defaults to 0. It is a numbers from -2.0 to 2.0, where positive values decrease the model's likelihood to repeat the same line.
  
  - `logit_bias` (map): This optional parameter modifies the likelihood of specified tokens appearing in the completion.
  
  - `logprobs` (integer or null): This optional parameter includes the log probabilities on the most likely tokens as well as the chosen tokens.
  
  - `max_tokens` (integer or null): This optional parameter sets the maximum number of tokens to generate in the completion.
  
  - `n` (integer or null): This optional parameter sets how many completions to generate for each prompt.
  
  - `presence_penalty` (number or null): Defaults to 0 and can be between -2.0 and 2.0. Positive values increase the model's likelihood to talk about new topics.
  
  - `stop` (string / array / null): Specifies up to 4 sequences where the API will stop generating further tokens.
  
  - `suffix` (string or null): Defines the suffix that comes after a completion of inserted text.
  
  - `temperature` (number or null): This optional parameter defines the sampling temperature to use.
  
  - `top_p` (number or null): An alternative to sampling with temperature, used for nucleus sampling.
class_docstr_tok: ["Reference",":","https",":","\/\/platform.openai.com\/docs\/api-reference\/completions\/create","The","class","`","OpenAITextCompletionConfig","`","provides","configuration","for","the","OpenAI","'s","text","completion","API","interface",".","Below","are","the","parameters",":","-","`","best_of","`","(","integer","or","null",")",":","This","optional","parameter","generates","server-side","completions","and","returns","the","one","with","the","highest","log","probability","per","token",".","-","`","echo","`","(","boolean","or","null",")",":","This","optional","parameter","will","echo","back","the","prompt","in","addition","to","the","completion",".","-","`","frequency_penalty","`","(","number","or","null",")",":","Defaults","to","0",".","It","is","a","numbers","from","-2.0","to","2.0",",","where","positive","values","decrease","the","model","'s","likelihood","to","repeat","the","same","line",".","-","`","logit_bias","`","(","map",")",":","This","optional","parameter","modifies","the","likelihood","of","specified","tokens","appearing","in","the","completion",".","-","`","logprobs","`","(","integer","or","null",")",":","This","optional","parameter","includes","the","log","probabilities","on","the","most","likely","tokens","as","well","as","the","chosen","tokens",".","-","`","max_tokens","`","(","integer","or","null",")",":","This","optional","parameter","sets","the","maximum","number","of","tokens","to","generate","in","the","completion",".","-","`","n","`","(","integer","or","null",")",":","This","optional","parameter","sets","how","many","completions","to","generate","for","each","prompt",".","-","`","presence_penalty","`","(","number","or","null",")",":","Defaults","to","0","and","can","be","between","-2.0","and","2.0",".","Positive","values","increase","the","model","'s","likelihood","to","talk","about","new","topics",".","-","`","stop","`","(","string","\/","array","\/","null",")",":","Specifies","up","to","4","sequences","where","the","API","will","stop","generating","further","tokens",".","-","`","suffix","`","(","string","or","null",")",":","Defines","the","suffix","that","comes","after","a","completion","of","inserted","text",".","-","`","temperature","`","(","number","or","null",")",":","This","optional","parameter","defines","the","sampling","temperature","to","use",".","-","`","top_p","`","(","number","or","null",")",":","An","alternative","to","sampling","with","temperature",",","used","for","nucleus","sampling","."]
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: from typing import Optional, Union, Any
  import types, time, json
  import httpx
  from .base import BaseLLM
  from litellm.utils import ModelResponse, Choices, Message, CustomStreamWrapper, convert_to_model_response_object, Usage
  from typing import Callable, Optional
  import aiohttp, requests
  import litellm
  from .prompt_templates.factory import prompt_factory, custom_prompt
  from openai import OpenAI, AsyncOpenAI
label_desc: Use image node_id 2 for calling the OpenAITextCompletionConfig obj's underlying member method code with example usage: obj.get_config(cls) and returns: unknown