Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI API with self hosted cube server #9247

Open
kevinleeTCA opened this issue Feb 20, 2025 · 0 comments
Open

AI API with self hosted cube server #9247

kevinleeTCA opened this issue Feb 20, 2025 · 0 comments
Labels
question The issue is a question. Please use Stack Overflow for questions.

Comments

@kevinleeTCA
Copy link

Problem

1. In regarding of proof of concept, Is there a way to test the AI API against our self-hosted cube server ?

I tried to connect to our host with the cubejs-api/v1/ai/query/completions, it gives 404
Image

I also tried using cube cloud via following:
Image

Using my git account and, select our cube repo, added some ENV VARs under setting, But can't make it connect to either my local cubejs server or our dev environment cubejs server, as it keeps failing with:
Image

I guess it is due to the fact that it doesn't connect to our cube server, instead, it connects the one created by cube cloud:

Image
Proof of this can be found in the running log:
Image

Which is different from the version we are using Cube API server (1.1.18).

We really would like to invest on this if this API looks promising with our cube data and query requirement

2. If we decide to use a different LLM, e.g., OpenAI, train it with our own cube meta data, would it work ? any guidance on this ?

@kevinleeTCA kevinleeTCA added the question The issue is a question. Please use Stack Overflow for questions. label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The issue is a question. Please use Stack Overflow for questions.
Projects
None yet
Development

No branches or pull requests

1 participant