Skip to content

Oshioke-Salaki/Code-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Code AI

Code AI is a program that answers users questions using Artificial Intelligence(AI) technology. I built the fornt end of this application using Vite and Vaniila Javascript. Then the backend using Node.js and Express. This project was also built using OPENAI's API for language modelling.

How It Works

The user types in a question which is sent through OPENAI's API. Once there is a response, it is rendered on the user Interface using a typing effect for user experience. It is meant to solve simple to complex programming questions. Depending on the complexity of the question, it would take some time to get the answers. Apart from programming questions, it can also answer any question you throw at it. Just like google I guess. Thats it for how it works.

This is the first rollout. Im looking to find ways i can improve this and create future projects using OPENAI's technology. You can also comment on how i can make it better.

Smaple Questions to ask

  1. Write a function in javascript called calcAge that takes in two arguments: name, birthYear and currentYear; The function should return the currentYear minus the BirthYear. The name should be set to "John" by default.

  2. Tell me about the company called Apple.

The Hosted Version

I hosted this project using Render and Netlify. Here is the link: https://codeai.netlify.app/ .I really hope you try it out.

Releases

No releases published

Packages

No packages published