langchain/tests/integration_tests/llms
Mario Kostelac aff44d0a98
(OpenAI) Add model_name to LLMResult.llm_output (#1713)
Given that different models have very different latencies and pricings,
it's benefitial to pass the information about the model that generated
the response. Such information allows implementing custom callback
managers and track usage and price per model.

Addresses https://github.com/hwchase17/langchain/issues/1557.
2023-03-16 21:55:55 -07:00
..
__init__.py
test_ai21.py Harrison/cohere experimental (#638) 2023-01-17 22:28:55 -08:00
test_aleph_alpha.py add aleph alpha llm (#1207) 2023-02-22 10:37:36 -08:00
test_anthropic.py Harrison/athropic (#921) 2023-02-06 22:29:25 -08:00
test_banana.py Add Writer, Banana, Modal, StochasticAI (#1270) 2023-02-24 06:58:58 -08:00
test_cerebrium.py Add GooseAI, CerebriumAI, Petals, ForefrontAI (#981) 2023-02-13 21:20:19 -08:00
test_cohere.py Harrison/llm saving (#331) 2022-12-13 06:46:01 -08:00
test_forefrontai.py Add GooseAI, CerebriumAI, Petals, ForefrontAI (#981) 2023-02-13 21:20:19 -08:00
test_gooseai.py Add GooseAI, CerebriumAI, Petals, ForefrontAI (#981) 2023-02-13 21:20:19 -08:00
test_huggingface_endpoint.py Harrison/inference endpoint (#861) 2023-02-06 18:14:25 -08:00
test_huggingface_hub.py Harrison/llm saving (#331) 2022-12-13 06:46:01 -08:00
test_huggingface_pipeline.py Harrison/version 0040 (#366) 2022-12-17 07:53:22 -08:00
test_manifest.py Harrison/fix lint (#138) 2022-11-14 08:55:59 -08:00
test_modal.py Add Writer, Banana, Modal, StochasticAI (#1270) 2023-02-24 06:58:58 -08:00
test_nlpcloud.py Harrison/llm saving (#331) 2022-12-13 06:46:01 -08:00
test_openai.py (OpenAI) Add model_name to LLMResult.llm_output (#1713) 2023-03-16 21:55:55 -07:00
test_petals.py Add GooseAI, CerebriumAI, Petals, ForefrontAI (#981) 2023-02-13 21:20:19 -08:00
test_promptlayer_openai.py Harrison/llm integrations (#1039) 2023-02-13 22:06:25 -08:00
test_propmptlayer_openai_chat.py Harrison/prompt layer (#1547) 2023-03-08 21:24:27 -08:00
test_self_hosted_llm.py Harrison/self hosted runhouse (#1154) 2023-02-19 09:53:45 -08:00
test_stochasticai.py Add Writer, Banana, Modal, StochasticAI (#1270) 2023-02-24 06:58:58 -08:00
test_writer.py Add Writer, Banana, Modal, StochasticAI (#1270) 2023-02-24 06:58:58 -08:00
utils.py Harrison/improve cache (#368) 2022-12-18 16:22:42 -05:00