CleverbotLib
1.0.0
CleverBotlib는 우아하고 사용하기 쉬운 패션으로 CleverBot API와 인터페이스 할 수있는 간단한 .NET 라이브러리입니다. API 응답에 제공된 모든 정보는 프로그래머가 사용할 수 있으며 CleverBot 상태는 메시지간에 쉽게 유지됩니다.
아래는 제공된 예제 응용 프로그램에서 직접 가져온 CleverBotlib의 기본 ConsoleApplication 구현입니다.
Console . WriteLine ( "CleverbotLib Example Application" ) ;
Console . WriteLine ( "Insert your API key:" ) ;
CleverbotLib . Core . SetAPIKey ( Console . ReadLine ( ) ) ;
Console . WriteLine ( "Now begin your conversation!" ) ;
CleverbotLib . Models . CleverbotResponse resp = null ;
while ( true )
{
Console . Write ( "You: " ) ;
if ( resp == null )
resp = CleverbotLib . Core . Talk ( Console . ReadLine ( ) ) ;
else
resp = CleverbotLib . Core . Talk ( Console . ReadLine ( ) , resp ) ;
Console . WriteLine ( $ "Cleverbot: { resp . Output } " ) ;
} Nuget 콘솔을 통해 Nuget을 통해이 라이브러리를 설치하려면 다음을 사용하십시오.
Install-Package CleverbotLib
패키지 관리자를 통해 간단히 검색하십시오.
CleverbotLib
또한이 저장소 Clone/Fork에 오신 것을 환영합니다.
이 프로젝트는 MIT 라이센스에 따라 제공됩니다. 자세한 내용은 라이센스 파일을 참조하십시오.