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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mmar_llm-2.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 96d4d9c0a1190318e49e046583e8f2e1fbcd8cc71d90e0808e4f9ab1c83d648b
MD5 aa2f78e68f2ce79655317c19c90ae57d
BLAKE2b-256 c1a81d18450c4f10380067fd2d091cfd8ceeabda0695a67a107e365d66ce1299

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mmar_llm-2.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e6d856d8fc42a7c108b7e787a45e18b6c6d41368f2007097f7b276505ad88b0b
MD5 238e1381ae63152914225b85fd9720b3
BLAKE2b-256 d56dcb783720c616ccdeab03aee6d4cdbe0096ee624d5163446ab1e3ebcdacfb

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