Inspiration
The OpenAI API is a powerful tool but unfortunately, it's not free for the average high schooler. My code aims to solve this issue.
What it does
This software provides users with a "fake" OpenAI API that actually uses the llama2 llm. It uses the free API provided by llama2.ai and functions by translating the requests received into what llama2.ai expects.
How we built it
I first started by figuring out the llama2.ai API as it doesn't have any documentation (it's really only meant to work with their front-end website). Afterward, I figured out how the OpenAI API worked and tried to emulate it. Finally, I created the translation layer to make everything work.
Challenges we ran into
My inability to spell words correctly.
Accomplishments that we're proud of
The whole thing?
What we learned
I can't spell.
What's next for Free OpenAI API proxy using llama.ai
Different API providers as llama2.ai is sometimes (often) down.
Log in or sign up for Devpost to join the conversation.