Closed Bredansky closed 2 months ago
@Bredansky I tried gemini, but it doesn't seem to fuznioanre through no fault of our own, gemini seems not to work because API doesn't rstitute answers for questions that involve answers that are too short
I am also getting this error, but using ollama instead of openai or gemini. Is ollama supported for this resume generator?
I'm not sure if I'm doing something wrong, but following the instructions, I think I can either have a paid GPT key or a free one using Gemini:
llm_api_key: [Your OpenAI or Ollama API key or Gemini API key] Replace with your OpenAI API key for GPT integration To obtain an API key, follow the tutorial at: https://medium.com/@lorenzozar/how-to-get-your-own-openai-api-key-f4d44e60c327 Note: You need to add credit to your OpenAI account to use the API. You can add credit by visiting the OpenAI billing dashboard. According to the OpenAI community and our users' reports, right after setting up the OpenAI account and purchasing the required credits, users still have a Free account type. This prevents them from having unlimited access to OpenAI models and allows only 200 requests per day. This might cause runtime errors such as: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. ...}} {'error': {'message': 'Rate limit reached for gpt-4o-mini in organization
on requests per day (RPD): Limit 200, Used 200, Requested 1.}} OpenAI will update your account automatically, but it might take some time, ranging from a couple of hours to a few days. You can find more about your organization limits on the official page. For obtaining Gemini API key visit Google AI for Devs
I put the API key I got from Gemini in secrets.yaml but sometimes I get this error (and it only points to GPT):
Unexpected error occurred: Error code: 401 - {'error': {'message': 'Incorrect API key provided: AIzaSyBh***wtMQ. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
If I have instead the GPT key it works, but I got soon the You exceeded your current
quota message
@feder-cr https://github.com/feder-cr/lib_resume_builder_AIHawk/issues/38 this issue is the root cause of this error
Also have this error, is there a way to modify the files of this current main build in order to be able to use Gemini?
llm_model_type: gemini llm_model: 'gemini-1.5-flash'
Note: As it is mentioned in the Readme llm_api_url is not required for GEMINI API key. Various llm_model parameters can be used from this link: https://ai.google.dev/gemini-api/docs/models/gemini
To use GEMINI API KEY:
llm_model_type: gemini llm_model: 'gemini-1.5-flash' #llm_api_url: 'https://api.pawan.krd/cosmosrp/v1' <- Comment this line by adding #
Note: As it is mentioned in the Readme llm_api_url is not required for GEMINI API key. Various llm_model parameters can be used from this link: https://ai.google.dev/gemini-api/docs/models/gemini
this still results in the same LoggerChatModel error.
Stacktrace, when the bot tries to upload a resume.
My
config.yaml
It seems like despite having gemini setup, the bot still tries to make a call to OpenAPI. I would appreciate any help. Thanks.