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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

mmar_llm-2.0.9-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mmar_llm-2.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0227bf2aea63fc48a8d35a9d5ab14c6f809d952b2d963c641c17d5800526ac89
MD5 e9d2d63e1ce2aff5588d26e8355d11a3
BLAKE2b-256 f6160a87b5422654137f6c7d581a59ce3505767284d64c16641bf73cb6d09305

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