mindsdb / mindsdb_python_sdk

The Python SDK for MindsDB Server
GNU General Public License v3.0
30 stars 11 forks source link

Add FileConfig as a Minds Data Source #136

Closed tmichaeldb closed 3 months ago

tmichaeldb commented 3 months ago

This PR adds support for uploading local files, and referencing files by URL to be used by a mind.

github-actions[bot] commented 3 months ago

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.py2244281%19–29, 35–36, 51, 54–55, 75–77, 98, 101, 108–111, 144–152, 173–174, 209–212, 226–227, 281–286
mindsdb_sdk/utils
   mind.py37370%1–102
   openai.py853065%37–40, 83–85, 107, 148–158, 215–216, 234–240, 258–276
   table_schema.py21210%1–54
TOTAL152325483% 

Tests Skipped Failures Errors Time
23 0 :zzz: 0 :x: 0 :fire: 9.452s :stopwatch: