this post was submitted on 26 Nov 2023
1 points (100.0% liked)

Machine Learning

1 readers
1 users here now

Community Rules:

founded 11 months ago
MODERATORS
 

As a girl on the spectrum who wants to make an Ai like ChatGPT and lamma, I don't know how to make it appear on HTML!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Themcdonaldscar@alien.top 1 points 10 months ago (1 children)
[โ€“] Brodaparte@alien.top 1 points 10 months ago

I'm not saying you use ChatGPT for the final product, just to help you set up the code. Once you have something working, replacing the API with another model becomes a considerably easier problem.

Flask is a Python backend for browser applications, and most of the language models are native to Python. If you want to display language model output in a browser, flask is a great starting point. I was suggesting having ChatGPT write your initial code as a starting point, not as the ultimate finished product, because that would solve specifically the problem you mentioned in your initial post--displaying LLM output on HTML.

I've actually done exactly this before for my own tinkering projects, so I know for sure it can be done.