class_docstr:     Reference: https://docs.together.ai/reference/inference
  
      The class `TogetherAIConfig` provides configuration for the TogetherAI's API interface. Here are the parameters:
  
      - `max_tokens` (int32, required): The maximum number of tokens to generate.
  
      - `stop` (string, optional): A string sequence that will truncate (stop) the inference text output. For example, "
  
  " will stop generation as soon as the model generates two newlines.
  
      - `temperature` (float, optional): A decimal number that determines the degree of randomness in the response. A value of 1 will always yield the same output. A temperature less than 1 favors more correctness and is appropriate for question answering or summarization. A value greater than 1 introduces more randomness in the output.
  
      - `top_p` (float, optional): The `top_p` (nucleus) parameter is used to dynamically adjust the number of choices for each predicted token based on the cumulative probabilities. It specifies a probability threshold, below which all less likely tokens are filtered out. This technique helps to maintain diversity and generate more fluent and natural-sounding text.
  
      - `top_k` (int32, optional): The `top_k` parameter is used to limit the number of choices for the next predicted word or token. It specifies the maximum number of tokens to consider at each step, based on their probability of occurrence. This technique helps to speed up the generation process and can improve the quality of the generated text by focusing on the most likely options.
  
      - `repetition_penalty` (float, optional): A number that controls the diversity of generated text by reducing the likelihood of repeated sequences. Higher values decrease repetition.
  
      - `logprobs` (int32, optional): This parameter is not described in the prompt.
      
class_docstr_tok: ["Reference",":","https",":","\/\/docs.together.ai\/reference\/inference","The","class","`","TogetherAIConfig","`","provides","configuration","for","the","TogetherAI","'s","API","interface",".","Here","are","the","parameters",":","-","`","max_tokens","`","(","int32",",","required",")",":","The","maximum","number","of","tokens","to","generate",".","-","`","stop","`","(","string",",","optional",")",":","A","string","sequence","that","will","truncate","(","stop",")","the","inference","text","output",".","For","example",",","``","''","will","stop","generation","as","soon","as","the","model","generates","two","newlines",".","-","`","temperature","`","(","float",",","optional",")",":","A","decimal","number","that","determines","the","degree","of","randomness","in","the","response",".","A","value","of","1","will","always","yield","the","same","output",".","A","temperature","less","than","1","favors","more","correctness","and","is","appropriate","for","question","answering","or","summarization",".","A","value","greater","than","1","introduces","more","randomness","in","the","output",".","-","`","top_p","`","(","float",",","optional",")",":","The","`","top_p","`","(","nucleus",")","parameter","is","used","to","dynamically","adjust","the","number","of","choices","for","each","predicted","token","based","on","the","cumulative","probabilities",".","It","specifies","a","probability","threshold",",","below","which","all","less","likely","tokens","are","filtered","out",".","This","technique","helps","to","maintain","diversity","and","generate","more","fluent","and","natural-sounding","text",".","-","`","top_k","`","(","int32",",","optional",")",":","The","`","top_k","`","parameter","is","used","to","limit","the","number","of","choices","for","the","next","predicted","word","or","token",".","It","specifies","the","maximum","number","of","tokens","to","consider","at","each","step",",","based","on","their","probability","of","occurrence",".","This","technique","helps","to","speed","up","the","generation","process","and","can","improve","the","quality","of","the","generated","text","by","focusing","on","the","most","likely","options",".","-","`","repetition_penalty","`","(","float",",","optional",")",":","A","number","that","controls","the","diversity","of","generated","text","by","reducing","the","likelihood","of","repeated","sequences",".","Higher","values","decrease","repetition",".","-","`","logprobs","`","(","int32",",","optional",")",":","This","parameter","is","not","described","in","the","prompt","."]
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
      }
  
file_path: litellm/litellm/llms/together_ai.py
imports: import os, types
  import json
  from enum import Enum
  import requests
  import time
  from typing import Callable, Optional
  import litellm
  import httpx
  from litellm.utils import ModelResponse, Usage
  from .prompt_templates.factory import prompt_factory, custom_prompt
label_desc: Use image node_id 2 for calling the TogetherAIConfig obj's underlying member method code with example usage: obj.get_config(cls) and returns: unknown