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

Ollama llm integration #19

Merged

Conversation

cyrannano
Copy link
Contributor

Description

This PR introduces the integration of Ollama support within the mindsql module. The Ollama class has been added, allowing for interaction with Ollama's APIs. This includes the implementation of methods to connect to Ollama's service, execute API requests, and handle responses efficiently.

Related Issue

N/A

Proposed Changes

  • Added a new Ollama class within the mindsql.llms module.
  • Implemented methods for:
    • Connecting to Ollama's API.
    • Executing API requests and handling responses.
    • Logging and error handling to ensure smooth integration with Ollama's services.
  • Added basic unit tests for the Ollama integration to validate connectivity and API request handling.

@Sammindinventory Sammindinventory merged commit b95ca73 into Mindinventory:master Aug 23, 2024
2 checks passed
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.

2 participants