Hello,
Looking to deploy a simple model using generative-ai-hub-sdk (using python 3.12) and after setup, I’m finding the following error executing the following script from console (jupyter notebook):
from gen_ai_hub.proxy.langchain.init_models import init_llm
prompt = “””Translate to danish: Guten Morgen”””
llm = init_llm(‘gpt-35-turbo’, temperature=0., max_tokens=256)
llm.invoke(prompt).content
——————————————————-
Error:
ValidationError: 1 validation error for ChatOpenAI
__root__
Parameters {‘top_p’} should be specified explicitly. Instead they were passed in as part of `model_kwargs` parameter. (type=value_error)
Any ideas?
Thanks!