Skip to content

Conversation

ominiverdi
Copy link

@ominiverdi ominiverdi commented May 6, 2025

Based on the previous examples for Claude and Gemini, I generad an Ollama interface.

same type of usage:

$ python example-clients/ollama_cli.py --ollama-model qwen2.5-coder
Connecting to MCP server at http://localhost:8000/sse...
Enter PostgreSQL connection URL: 
Connected to database with ID: 0624eee4-3939-56ff-9005-a7e927e36e92

--------------------------------------------------
Enter your question (or 'exit' to quit): 

Base on the prevoius examples of Claude and Gemini, I generad and ollama interface.

same type of usage:
```
$ python example-clients/ollama_cli.py --ollama-model qwen2.5-coder
```

```
Connecting to MCP server at http://localhost:8000/sse...
Enter PostgreSQL connection URL:
```
```
Connected to database with ID: 0624eee4-3939-56ff-9005-a7e927e36e92

--------------------------------------------------
Enter your question (or 'exit' to quit):

```
@ominiverdi ominiverdi changed the title A CLI example to interface to Ollama A CLI example interface to Ollama May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant