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

Release 3.0.0 #134

Merged
merged 17 commits into from
Jul 23, 2024
Merged

Release 3.0.0 #134

merged 17 commits into from
Jul 23, 2024

Conversation

tmichaeldb
Copy link
Contributor

@tmichaeldb tmichaeldb commented Jul 23, 2024

tmichaeldb and others added 17 commits June 6, 2024 11:17
Don't Use Agent Retrieval Mode by Default
The Agent model now includes a provider attribute allowing different providers for model creation. Additionally, a check for the provider has been added before using API keys in embeddings in the Agents and the model creation logic has been updated to return the model name instead of the Model object.
The model parameter in the `mindsdb_sql_agent` creation has been refactored to use 'gpt-4' instead of a dictionary. The query for average rental price has been changed to a query for the sales of three-bedroom houses in 2008. Additionally, a default 'prompt_template' is set in `mindsdb_sdk/agents.py`.
…gent

# Conflicts:
#	examples/using_agents_with_text2sql.py
#	mindsdb_sdk/connectors/rest_api.py
The 'provider' field has been added throughout the MindsDB SDK testing. This change reflects recent updates to the agent model within the SDK, accommodating for new data required for agent instantiation and manipulation. Modification is done in codebase, while maintaining existing functionality and ensuring compatibility with newer versions.
Update create_mind to Use New DataSourceConfig
A typo in the description of the added file in 'using_agents_with_retrieval.py' was corrected. The board game name was changed from "takaido" to the correct form "Tokaido".
Changes to improve compatibility with agent and retrieval skill in python_sdk
@tmichaeldb tmichaeldb self-assigned this Jul 23, 2024
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
mindsdb_sdk
   agents.py2135574%24, 91, 94, 102, 110, 118, 126, 136, 139, 143, 145, 147, 149, 151, 153, 222, 226–241, 253, 262–266, 273–274, 311, 323–324, 365, 389–391, 407–409, 416, 421, 449–450, 470–472, 476–480
   databases.py45296%109, 137
   handlers.py39197%77
   jobs.py97793%41, 53, 81, 85, 147–150
   knowledge_bases.py1261588%58–61, 151, 155–162, 167–171, 250–253, 322, 339
   ml_engines.py42393%94, 126, 128
   models.py2101991%109, 140–141, 222, 231, 233, 303, 339, 348, 372, 397, 491, 499, 518, 534, 542, 567, 571, 584
   projects.py63198%160
   query.py13192%14
   skills.py53394%43, 45, 49
   tables.py1301588%140–142, 145, 165, 192, 203–204, 209, 224, 227, 321, 342–347, 356, 376
   views.py37295%105, 138
mindsdb_sdk/connectors
   rest_api.py2173882%18–28, 34–35, 50, 53–54, 74–76, 97, 100, 107–110, 143–151, 198, 212–213, 267–272
mindsdb_sdk/utils
   mind.py35350%1–91
   openai.py853065%37–40, 83–85, 107, 148–158, 215–216, 234–240, 258–276
   table_schema.py21210%1–54
TOTAL151424884% 

Tests Skipped Failures Errors Time
23 0 💤 0 ❌ 0 🔥 9.732s ⏱️

@tmichaeldb tmichaeldb merged commit c87d68d into stable Jul 23, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: merged
Development

Successfully merging this pull request may close these issues.

3 participants