Vectara-answer is awesome and...would there be a Vue3 equivalent (to the React code)?

Vectara-answer is awesome and…would there be a Vue3 equivalent (to the React code)?

I was able to run it (I ended up stripping out docker, etc. although it is beneficial but not enough disk space, ha), and ran the react app straight, looks good, but looking for a vue3 equivalent/boilerplate. What’s the fastest way to get that?

To be fair, I can probably back out from the React app a Vue3 app, or should I use GitHub - vectara/Search-UI and reverse that into Vue3?

Hey Ali, thank you for the kind words! We don’t currently have any plans to create a Vue port of Vectara-Answer. I think the most direct route to create a Vue port of that UI would be to manually convert the React code to its Vue equivalent.

Sorry, I know this probably isn’t what you want to hear! :sweat_smile: I lead our front-end engineering efforts and the challenge for me is that I’m committed to maintaining our OSS projects and I’m not sure if we’ll be able to maintain such a port. If you do decide to port this to Vue and open-source it, I’d love to take a look and offer any advice you might need.

CJ

Thanks CJ - I have to ask (on a quick pass, it looked like you had written your own UI and didn’t use anything off the shelf, was that right? Impressive).

I will definitely share although I have to admit what I end up writing/using with Vue3 will be very thin (for speed of implementation). I might even reverse out from a Curl/Python command (also useful on your site), to wrap around some search bar/data bindings, etc.

on a quick pass, it looked like you had written your own UI and didn’t use anything off the shelf, was that right

Yup! We’ve built our own React UI framework, which I expect we’ll open-source soon.

I will definitely share although I have to admit what I end up writing/using with Vue3 will be very thin

Awesome! I like to start with a minimal initial increment too. Can’t wait to learn from your approach, and look for ways to contribute back.

To follow up:
a). Was fairly easy to get it working with Vue3 (less than an hour), still not nearly as beautiful/elegant as the Vectara UI — but it will function (my UI is probably too poor for now to re-share :slight_smile: - but at some point if it gets a bit more robust I can post back for anyone else to reuse the components, etc.).
b). Thanks CJ!

1 Like