Your Cart
Loading

CS325 Project 3 Points:150 Use the project-2’s repository

On Sale
$25.00
$25.00
Added to cart


Project Description:


  1. Use the project-2’s repository. You can create a different branch.


  1. Write a program that will connect to openAI/‎Gemini(Bard) API (or LLM(large language model) API). You have to create an account with them to use their API.


  1. After the registration with an LLM account, you have to create a token, it is like an access token that will allow you to access their API. You have to use this token whenever making an API call to the LLM model.
  2. After you are able to connect to the LLM API, send to the LLM model a prompt, for example “ Please make the article concise, up to 50 words, the article is “....The content of the article…””. You can change the prompt to whatever you want. The LLM model will send you back an approximately 50 words concise description of the long article.
  3. Save the return text in a file. This file should contain the original title of the content and the concise article. If you forget to save the title of the article, use the LLM model to generate a spicy title for you from the concise article or the raw article.
  4. You have to do it for at least 10 articles.


Rubric:


  1. Write another section in the readme explaining how to create an LLM API account and how a Key is generated and how to use the key to make a simple API call. You can use screenshots to explain- 30 points
  2. Update the YAML file (if needed) -10points


  1. Comment your code, very important-30 points


  1. Use the project-2 file structure (add folders/files inside of the existing structure) -10 points
  2. Able to generate a concise version of at least 10 articles with title - 70 points.





If you have any questions regarding the project please do ask me after/before the class. I will explain more in the next class.


Please send the github link to the TA and also bundle (zip) everything and put it in


MOODLE


You will get a ZIP (37KB) file