Skip to content

v1.2.20

Choose a tag to compare

@cagostino cagostino released this 22 Sep 03:49
· 42 commits to main since this release
0e2eb4f
  • added npcpy.ft.system1 module with trainable local predictors for choice, noul, score, and batch predict, with optional predictor injection and llm fallback when no model is loaded (94e0677, 2a4e25e)- exposed System1Config, System1Example, System1Predictor, System1Result, ChoiceResult, NoulResult, ScoreResult, train_system1, load_system1, choice, noul, score, and predict in npcpy and npcpy.ft top-level namespaces (94e0677)
  • added flask endpoints /api/system1/predict, /api/system1/choice, /api/system1/noul, and /api/system1/score that load a system 1 model from NPCPY_SYSTEM1_MODEL or a request model_path (2a4e25e)
  • added system1 install extras (sentence_transformers, scikit-learn) to the all extra and bumped version to 2.1.20 (f287830)
  • added tests/test_ft_system1.py covering system 1 training, loading, and inference (2a4e25e)
  • added tests/test_doc_examples.py to discover and execute python code blocks from docs/**/*.md as pytest tests, with env-based skip and model/provider overrides (0e2eb4f)
  • removed verbose docstrings and section comments from npcpy/gen/response.py (2a4e25e)
  • added X-Pplx-Integration: npcpy header to perplexity search requests for integration attribution (a861515)
  • updated .gitignore to exclude system1_*/ and decision_models/ directories (94e0677)