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.7.tar.gz (11.4 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.7-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mmar_llm-2.0.7.tar.gz
Algorithm Hash digest
SHA256 345d751d3a1ed2e0137603a3f8c3d3f1bfae1c8a2c5ad351b3483e20f57bff90
MD5 3dcd0c4ec9e299ed82c4bedb3cbea8a7
BLAKE2b-256 759e5c283c2d8af53772fe5bf1239b64644d4f8f49d8d34afa24f58e02ce8bc8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mmar_llm-2.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b4ec09d2534fe0a19b8fe0960289fa3b80750779a1bd5feae823d2c0667f40a7
MD5 97acc5f4c5e448e0dbebd83e0d8f3cd9
BLAKE2b-256 5ac21109bbd293c60f0d202bd7f237fb8b6b0da10d800fb1a2ffd88a83ab1a69

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