/data-annotating-using-llms

Data Annotating using Large Language Model (Gemini API)

Primary LanguagePython

Data Annotating using Large Language Model (Gemini API)

Annotate data effortlessly using a Large Language Model (Gemeni API). This code processes CSV input, annotates tweets by giving prompt to Gemini, and stores the results back in CSV, ensuring data integrity and accessibility.

Technologies

  1. Gemini API.
  2. Python.
  3. Visual Studio Code.

How To Run

  1. Get your Gemini API-KEY from Gemini AI Developer site.
  2. Use this API-KEY in the code.
  3. Install all the libraries using the following command:
pip install google.generativeai csv
  1. You should have installed Python version which supports googl.generativeai, version > 3.10 is fine.
  2. Run the code.