Skip to content

feat(llm):to support ollama access mode#713

Merged
ShannonBase merged 1 commit into
Shannon-Data:mainfrom
RingsC:support-ollma-service
May 7, 2026
Merged

feat(llm):to support ollama access mode#713
ShannonBase merged 1 commit into
Shannon-Data:mainfrom
RingsC:support-ollma-service

Conversation

@RingsC
Copy link
Copy Markdown
Contributor

@RingsC RingsC commented May 7, 2026

add a new LLM service access mode, via http services.

Issues:#712

I hereby agree to the terms of the CLA available at: http://www.shannondata.ai/doc/cla/

Summary

add a new LLM service access mode, via http services..

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

add a new LLM service access mode, via http services.

new options added including: provider and endpoint. Such as the
following examples.

```
SELECT sys.ML_GENERATE(
  CONCAT('xxxx ', user_question),
  JSON_OBJECT(
    "task",     "generation",
    "model_id", "qwen2.5:7b",
    "provider", "ollama",
    "endpoint", "http://127.0.0.1:11434"
  )
) AS generated_sql;
```

Issues:Shannon-Data#712
@ShannonBase ShannonBase self-requested a review May 7, 2026 10:06
@ShannonBase ShannonBase self-assigned this May 7, 2026
@ShannonBase ShannonBase added enhancement New feature or request feature It will be implemented as a new feature labels May 7, 2026
Copy link
Copy Markdown
Contributor

@ShannonBase ShannonBase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ShannonBase ShannonBase merged commit f881344 into Shannon-Data:main May 7, 2026
4 checks passed
@RingsC RingsC deleted the support-ollma-service branch May 7, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature It will be implemented as a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(llm): to support more provider.

2 participants