Python Script for Large language model Interaction with excel

Job ID: 38192625

Budget: ₹600 – ₹1,500 INR

I need a Python script that can post prompts from an Excel file or google sheets into the large language model (LLM) Ollama, and receive the response back into the same Excel/Google sheets file. The script should run multiple times a day and should log only critical errors.

Key Requirements:
- Develop a Python script that can interact with Ollama, Jan.ai, LMStudio or others
- The LLM Local API endpoint URL to be used in python script
- Extract prompts from an Excel file and post them into LLM running locally.
- Obtain the corresponding responses and write them back to the same Excel file in the same row.
- Implement the script to run continuously.

Additional Information:
- Post prompts from excel or google sheets into large language model
- Receive response back to excel in the same row from where prompts were taken.
- The prompt will have two parts, one is prefix which will be common and second is product name.
- This is to be repeated for each row.
- The LLM's are running locally i.e Ollama, LMStudio, Jan.ai.
- The purpose of this code is to generate descriptions for ecommerce products.
Related categories: Python Large Language Models (LLMs)