Keyword, Audio to Blog - WIP
This commit is contained in:
@@ -32,7 +32,7 @@ def llm_text_gen(prompt):
|
||||
# Check if API key is provided for the given gpt_provider
|
||||
get_api_key(gpt_provider)
|
||||
|
||||
logger.info(f"Model: {model}, Temp: {temperature}, MaxTokens: {max_tokens}, TopP: {top_p}, N: {n}, FrequencyPenalty: {fp}")
|
||||
logger.info(f"Temp: {temperature}, MaxTokens: {max_tokens}, TopP: {top_p}, N: {n}, FrequencyPenalty: {fp}")
|
||||
# Perform text generation using the specified LLM parameters and prompt
|
||||
if 'google' in gpt_provider.lower():
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user