feat/multi provider support#1
Merged
Merged
Conversation
…LLM` querying with strategy-based execution, parallel model handling, multimodal message building, and weighted model scoring
…coding functions for `matplotlib` integration
…, performance, and fallback options
…on with key validation and model listing
…` models with endpoint, key validation, and model listing
… list_models, and validate_key methods
…orting text and multimodal queries with validation
… validation and supported models listing
…point with query, list_models, and key validation
…Ollama` models with query and validation
…th query, list_models, and key validation
…PI` with query, list_models, and key validation
…providers, manage `API` keys, and handle queries
…odels with iteration-based escalation
…order until success, with optional success tracking
…ghest-performance models with fallback to lower tiers
…l models for balanced usage
… provider/model pairs with iteration-aware selection
…ace` and `ProviderManager` with strategy-based model selection, remove `Groq`-specific hardcoding, and unify image handling
…ine to comply with `PEP8` formatting
…add new `AI/LLM` packages; update `setup.py` to read `README` safely and include additional dependencies
… license, and examples to `v0.1.3`
…arams (strategy, models, iterations, interactivity, timeout)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces major updates to the PlotSense package, focusing on expanding AI provider support, updating documentation, and improving package metadata and dependencies. The most significant changes include the addition of new LLM provider integrations (Groq, Anthropic, Gemini, and Azure OpenAI), enhancements to the documentation and usage examples, and updates to package requirements and author/license information.
AI Provider Integrations
Added new provider classes for Groq (
plotsense/core/providers/groq.py), Anthropic (plotsense/core/providers/anthropic.py), Gemini (plotsense/core/providers/gemini.py), and Azure OpenAI (plotsense/core/providers/azure_openai.py), all inheriting from a new abstract base classLLMProvider(plotsense/core/providers/base.py). These classes support querying, model listing, and API key validation for each respective service. [1] [2] [3] [4] [5]Introduced a new
StrategyNameenum to support future provider selection strategies (plotsense/core/enums/strategy.py).Documentation and Usage Improvements
PKG-INFOdocumentation with new usage examples for plot generation (plotgen), improved explanation workflow, and a combined workflow for suggest → plot → explain. Updated sample outputs and added a feedback form link. [1] [2] [3] [4]Package Metadata and Requirements
0.1.3), expanded author list, changed license to Apache License 2.0, and revised homepage/documentation links. [1] [2]groq,anthropic,openai,google-genai,python-dotenv,requests) and updated minimum required version formatplotlibto3.8.0. [1] [2]Source and Test Structure
SOURCES.txt, and included new test files for expanded coverage. [1] [2] [3]Minor API and Import Updates
plotsense/__init__.pyto ensure new modules are available.These changes significantly enhance PlotSense's flexibility and capability to interact with multiple AI providers, improve user experience through better documentation, and ensure the package is up to date with modern requirements.