Skip to main content

llm wrappers for multimodal architectures team

Project description

mmar-llm

how to run tests via pytest

  1. Create .env in current directory.

Example:

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"]
  1. 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:

<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]>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mmar_llm-2.0.4.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mmar_llm-2.0.4-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file mmar_llm-2.0.4.tar.gz.

File metadata

  • Download URL: mmar_llm-2.0.4.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.31

File hashes

Hashes for mmar_llm-2.0.4.tar.gz
Algorithm Hash digest
SHA256 695ddc3dd677988018b4817d43d75185639b82032b55c1f59041a962cafac4f7
MD5 70f8f8e5e45ec7c87f8d57d37331dc2a
BLAKE2b-256 33271c554f8a277268c82972287e33d08479169ee620c373d4a712f7a5c8d0e6

See more details on using hashes here.

File details

Details for the file mmar_llm-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: mmar_llm-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.31

File hashes

Hashes for mmar_llm-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e9122df15e490ee7beede840cf92a00a0dba23ee80891752ae745e1fae797159
MD5 23062162e58f1023b84835fa98e5ccf5
BLAKE2b-256 cae9d3851d95234208f0bc41cb8d8912b8399afb93e9e75f94cf03dec4b9b294

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page