()
| 28 | |
| 29 | # Simple test to make sure we are reaching Anthropic |
| 30 | def test_anthropic(): |
| 31 | prompter = Prompt(llm_name="claude-instant-v1", llm_api_key=anthropic_api_key) |
| 32 | response = prompter.completion("what is artificial intelligence?") |
| 33 | llm_response = response["llm_response"] |
| 34 | assert 'artificial' in llm_response.lower() |
| 35 | |
| 36 | |
| 37 | # Simple test to make sure we are reaching AI21 |
nothing calls this directly
no test coverage detected