Ask Qwen Task#406
Open
annehaley wants to merge 12 commits into
Open
Conversation
Deploying geodatalytics with
|
| Latest commit: |
c9ad678
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://894360ba.geodatalytics.pages.dev |
| Branch Preview URL: | https://first-hf-task.geodatalytics.pages.dev |
brianhelba
reviewed
Jun 18, 2026
Co-authored-by: Brian Helba <brian.helba@kitware.com>
brianhelba
reviewed
Jun 22, 2026
brianhelba
reviewed
Jun 22, 2026
brianhelba
reviewed
Jun 22, 2026
brianhelba
reviewed
Jun 22, 2026
brianhelba
reviewed
Jun 22, 2026
brianhelba
reviewed
Jun 22, 2026
manthey
reviewed
Jun 23, 2026
manthey
reviewed
Jun 23, 2026
manthey
reviewed
Jun 23, 2026
brianhelba
reviewed
Jun 23, 2026
brianhelba
reviewed
Jun 23, 2026
| from .analysis_type import AnalysisInputError, AnalysisTask, AnalysisType | ||
|
|
||
| ENDPOINT_NAMESPACE = "Kitware" | ||
| ENDPOINT_NAME = "qwen3-5-9b-gguf-ulh" |
Collaborator
There was a problem hiding this comment.
Although I previously suggested that we didn't have to keep this a secret, now that I see it hardcoded here, I'm worried that future open source users or developers will try to use our deployment-specific endpoint (I've seen this happen before).
I think we should make this a deployment-specific env var.
To avoid proliferation of multiple env vars, we could potentially pack this into a single URL.
Collaborator
Author
There was a problem hiding this comment.
Could you elaborate on what you mean by packing this information into a single URL? My first assumption is that you mean to create a JSON mapping of task names to HF endpoint names and serve it from somewhere else, but I wouldn't know where to put it.
568bba8 to
c0eb8b3
Compare
Co-authored-by: Brian Helba <brian.helba@kitware.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a new analytics task called "Imagery: Ask Qwen". The task accepts three inputs: 1) an imagery raster, 2) a text prompt, and 3) a
max_tokensvalue (1k - 10k). The task leverages our first Huggingface inference endpoint, sending a lower resolution version of the imagery to the endpoint along with the question and returning the response to the user.The screenshots below show some example runs on the boston orthoimagery layer:


To support the large markdown responses, this PR makes a slight change to the Analytics Panel in the client, using
vue-markdown-renderfor a new output type "markdown".