Metadata-Version: 2.4
Name: mmar-llm
Version: 2.0.4
Summary: llm wrappers for multimodal architectures team
Keywords: 
Author: Eugene Tagin
Author-email: Eugene Tagin <tagin@airi.net>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Documentation
Classifier: Topic :: Software Development
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Dist: requests~=2.32.5
Requires-Dist: gigachat==0.1.43
Requires-Dist: tiktoken==0.8.0
Requires-Dist: openai==1.61.0
Requires-Dist: loguru~=0.7.3
Requires-Dist: mmar-mapi~=1.4.2
Requires-Dist: mmar-utils~=1.1.11
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# mmar-llm

## how to run tests via pytest
1. Create `.env` in current directory.

Example:
```env
llm_config_path=/mnt/data/envs/creds/llm_config.json
test_endpoint_keys=["giga-max-sberai","gemini", "giga-max-fin-aifa", "airi-giga"]
test_endpoint_keys_embeddings=["embeddings", "giga-max-fin-aifa"]
test_endpoint_keys_files=["giga-max-fin-aifa", "airi-giga"]
```


2. Run:
- `pytest` :: to run all tests
- `pytest -s` :: to run all tests and show logs
- `pytest --stepwise` :: to stop on first fail
- `pytest -k airi` :: to filter tests which have `airi` as substring
- `pytest -k 'not airi'` :: to filter tests which **have not** `airi` as substring
- `pytest -k airi -k file` :: many filters supported
- `pytest -k aifa -k file --collect-only` :: just show generated filtered tests, without running

Output:
```text
<Dir mmar-llm>
  <Package tests>
    <Module test_get_response.py>
      <Function test_get_response_with_file[giga-max-fin-aifa]>
        <Function test_get_response_with_file[airi-giga]>
```
