mirror of
				https://github.com/hwchase17/langchain.git
				synced 2025-11-04 02:03:32 +00:00 
			
		
		
		
	Add Anyscale service integration under LLM Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			239 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			239 B
		
	
	
	
		
			Python
		
	
	
	
	
	
"""Test Anyscale API wrapper."""
 | 
						|
 | 
						|
from langchain.llms.anyscale import Anyscale
 | 
						|
 | 
						|
 | 
						|
def test_anyscale_call() -> None:
 | 
						|
    """Test valid call to Anyscale."""
 | 
						|
    llm = Anyscale()
 | 
						|
    output = llm("Say foo:")
 | 
						|
    assert isinstance(output, str)
 |