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

Add Ollama provider with response schema support & create LLM provider directory #3306

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

itsmvd
Copy link
Collaborator

@itsmvd itsmvd commented Feb 25, 2025

This pull request introduces the following changes:

  • Implements response schema support for Ollama provider: Add response_schema support to ollama.py (already added to the interface). This allows for structured data extraction from the LLM. This functionality is currently used for the experimental llm_summarize feature.
  • Refactors LLM provider directory: Moves all LLM providers to new timesketch/lib/llms/providers directory for better organization.

@itsmvd itsmvd marked this pull request as ready for review February 25, 2025 16:07
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