SEMOSS / Semoss

Apache License 2.0
28 stars 5 forks source link

Reads max_input_tokens from smss file for chatgpt generative model #197

Open jayesh00949 opened 1 week ago

jayesh00949 commented 1 week ago

Issue - When we are adding max_input_tokens in INIT_MODEL_ENGINE as param we are getting an error "got an unexpected keyword argument 'max_input_tokens'". Fix - initialized the max_input_tokens in open_ai_tokenizer and poping it from the args before initializing Azureopenai.