Skip to content

Feature/ollama local model integration#51

Open
Tarak-Chandra-Sarkar wants to merge 3 commits intoAzure-Samples:mainfrom
Tarak-Chandra-Sarkar:feature/ollama_local_model_integration
Open

Feature/ollama local model integration#51
Tarak-Chandra-Sarkar wants to merge 3 commits intoAzure-Samples:mainfrom
Tarak-Chandra-Sarkar:feature/ollama_local_model_integration

Conversation

@Tarak-Chandra-Sarkar
Copy link
Copy Markdown

@Tarak-Chandra-Sarkar Tarak-Chandra-Sarkar commented Apr 7, 2026

Purpose

  • It just support Ollama local model for as of now below example python files
  • examples/agent_basic.py
  • examples/agent_tool.py
  • examples/agent_tools.py

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Get install Ollama in your local machine

  • Download Ollama local model i.e qwen3.5:0.8b

  • Set the .env file for Ollama model configuration

  • Create and Activate Virtual Environment

  • Run the agent_basic.py with activated .venv in terminal

  • Test the code


What to Check

Verify that the following are valid
The below python example are running with proper results
examples/agent_basic.py
examples/agent_tool.py
examples/agent_tools.py

Other Information

 - agent_basic.py
 - agent_tool.py
 - agent_tools.py
 - update README
@Tarak-Chandra-Sarkar
Copy link
Copy Markdown
Author

@Tarak-Chandra-Sarkar please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

@Tarak-Chandra-Sarkar Tarak-Chandra-Sarkar marked this pull request as ready for review April 7, 2026 16:57
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