Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

@Fingerthief@infosec.pub cover
@Fingerthief@infosec.pub avatar

Fingerthief

@Fingerthief@infosec.pub

Web Dev Person / Ex Performance ECU Calibrations Person

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Fingerthief OP ,
@Fingerthief@infosec.pub avatar

This app is more of an interface to use while connecting to any number of LLM Models that have an API available. The application itself has no model.

For example you can choose to use GPT-4 Omni by providing an API key from OpenAI.

But you can also connect to services like OpenRouter with an API key and select between 20+ different models that they provide access to as seen below

https://infosec.pub/pictrs/image/307bf9cd-35eb-47b7-b39f-f54728e037c2.png

It also supports connecting to fully local models via programs like LM Studio which downloads models from
Hugging Face to your machine and will spin up a local API to connect and chat with the model.

Fingerthief OP ,
@Fingerthief@infosec.pub avatar

Local models are indeed already supported! In fact any API (local or otherwise) that uses the OpenAI response format (which is the standard) will work.

So you can use something like LM Studio to host a model locally and connect to it via the local API it spins up.

If you want to get crazy...fully local browser models are also supported in Chrome and Edge currently. It will download the selected model fully and load it into the WebGPU of your browser and let you chat. It's more experimental and takes actual hardware power since you're fully hosting a model in your browser itself. As seen below.

https://infosec.pub/pictrs/image/c55a4dd0-8f77-43d4-9486-52a038abc0e6.png

Fingerthief OP ,
@Fingerthief@infosec.pub avatar

I haven't personally tried it yet with Ollama but it should work since it looks like Ollama has the ability to use OpenAI Response Formatted API https://github.com/ollama/ollama/blob/main/docs/openai.md

I might give it go here in a bit to test and confirm.

Fingerthief OP ,
@Fingerthief@infosec.pub avatar

Yep that's a pretty good comparison!

I'm curious on what you mean by sourcing training data in an ethical way? I know OpenAI has come under well deserved scrutiny for apparently using content that is hidden behind paywalls without purchasing it themselves in their training data. Which is quite unethical, but aside from that instance I'm interested in hearing some other concerns for my own education.

In general there are definitely loads of models on places like Hugging Face that are fully open source and provide training data sources for many.

I believe for Microsoft's new Phi 3 models they actually generated synthetic data themselves for training as well which is an interesting approach that seems to yield good results.

In the open source LLM world the new Meta Llama 3 models are the latest and greatest, I haven't seen any cause for concerns with it yet. Might be worth looking into those!

Fingerthief OP ,
@Fingerthief@infosec.pub avatar

This project is entirely web based using Vue 3, it doesn't use langchain and I haven't looked into it before honestly but I do see they offer a JS library I could utilize. I'll definitely be looking into that!

As a result there is no LLM function calling currently and apps like LM Studio don't support function calling when hosting models locally from what I remember. It's definitely on my list to add the ability to retrieve outside data like searching the web and generating a response with the results etc..

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • incremental_games
  • meta
  • All magazines