forked from Archives/langchain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a9b97aa6f4
There will likely be another change or two coming over the next couple weeks as we stabilize the API, but putting this one in now which just makes the integration a bit more flexible with the response output format. ``` (langchain) danielking@MML-1B940F4333E2 langchain % pytest tests/integration_tests/llms/test_mosaicml.py tests/integration_tests/embeddings/test_mosaicml.py =================================================================================== test session starts =================================================================================== platform darwin -- Python 3.10.11, pytest-7.3.1, pluggy-1.0.0 rootdir: /Users/danielking/github/langchain configfile: pyproject.toml plugins: asyncio-0.20.3, mock-3.10.0, dotenv-0.5.2, cov-4.0.0, anyio-3.6.2 asyncio: mode=strict collected 12 items tests/integration_tests/llms/test_mosaicml.py ...... [ 50%] tests/integration_tests/embeddings/test_mosaicml.py ...... [100%] =================================================================================== slowest 5 durations =================================================================================== 4.76s call tests/integration_tests/llms/test_mosaicml.py::test_retry_logic 4.74s call tests/integration_tests/llms/test_mosaicml.py::test_mosaicml_llm_call 4.13s call tests/integration_tests/llms/test_mosaicml.py::test_instruct_prompt 0.91s call tests/integration_tests/llms/test_mosaicml.py::test_short_retry_does_not_loop 0.66s call tests/integration_tests/llms/test_mosaicml.py::test_mosaicml_extra_kwargs =================================================================================== 12 passed in 19.70s =================================================================================== ``` #### Who can review? @hwchase17 @dev2049 |
12 months ago | |
---|---|---|
.. | ||
__init__.py | 12 months ago | |
aleph_alpha.py | 1 year ago | |
base.py | 2 years ago | |
bedrock.py | 1 year ago | |
cohere.py | 1 year ago | |
dashscope.py | 12 months ago | |
deepinfra.py | 12 months ago | |
elasticsearch.py | 1 year ago | |
embaas.py | 12 months ago | |
fake.py | 1 year ago | |
google_palm.py | 1 year ago | |
huggingface.py | 1 year ago | |
huggingface_hub.py | 1 year ago | |
jina.py | 1 year ago | |
llamacpp.py | 1 year ago | |
minimax.py | 1 year ago | |
modelscope_hub.py | 1 year ago | |
mosaicml.py | 12 months ago | |
openai.py | 12 months ago | |
sagemaker_endpoint.py | 1 year ago | |
self_hosted.py | 1 year ago | |
self_hosted_hugging_face.py | 1 year ago | |
sentence_transformer.py | 1 year ago | |
tensorflow_hub.py | 1 year ago | |
vertexai.py | 1 year ago |