llm/tests
Simon Willison 77cf56e54a
Initial CLI support and plugin hook for embeddings, refs #185
* Embeddings plugin hook + OpenAI implementation
* llm.get_embedding_model(name) function
* llm embed command, for returning embeddings or saving them to SQLite
* Tests using an EmbedDemo embedding model
* llm embed-models list and emeb-models default commands
* llm embed-db path and llm embed-db collections commands
2023-08-27 22:24:10 -07:00
..
conftest.py Initial CLI support and plugin hook for embeddings, refs #185 2023-08-27 22:24:10 -07:00
test_aliases.py Refactor to use llm.set_alias() / remove_alias(), closes #154 2023-08-19 22:11:19 -07:00
test_cli_openai_models.py Fixes for Pydantic 1, including matrix test - refs #169 2023-08-19 20:59:30 -07:00
test_embed.py Initial CLI support and plugin hook for embeddings, refs #185 2023-08-27 22:24:10 -07:00
test_embed_cli.py Initial CLI support and plugin hook for embeddings, refs #185 2023-08-27 22:24:10 -07:00
test_keys.py Change of policy: keys.json over-rides environment variables, closes #158 2023-08-20 23:27:21 -07:00
test_llm.py Combine piped and argument prompts, closes #153 2023-08-20 22:57:29 -07:00
test_migrate.py Test for migrations fix in #162 2023-08-19 13:17:47 -07:00
test_plugins.py Moved iter_prompt from Response to Model, moved a lot of other stuff 2023-07-10 07:45:11 -07:00
test_templates.py llm models and llm templates default to list, closes #167 2023-08-19 20:04:14 -07:00