Is there a way to reach Verba Chat without the UI, through an API or a request for example

Is there a way to reach Verba Chat without the UI, through an API or a request for example.

I have a main app, an currently using Ollama runs in my local, and right now I have a little node application that functions like a RAG, I’m embedding the queries that I get, comparing the vectors and then giving to ollama the context and original query to get the answer.

Is there a way to introduce Verba here? The UI is really nice, but for the workflow I need an endpoint, is this possible currently?

Hi @Arturo_Zambrano !! Welcome to our community!

Verba UI consume two apis (tested on http://verba.weaviate.io) when doing a query

https://verba.weaviate.io/api/query

and a websocket at:
wss://verba.weaviate.io/ws/generate_stream

With those you can use probably use it’s backend directly.

However, I don’t believe those are documented or intended to be used outside of that UI.

Additionally, you can always code some api that will connect to Weaviate directly.

I have not found a feature request on this:

It would be interesting to open one, as this may also be a popular demand from other users.

Let me know if this helps.

Thanks!

1 Like