Loading...
    • 개발자 가이드
    • API 참조
    • MCP
    • 리소스
    • 릴리스 노트
    Search...
    ⌘K
    리소스
    개요용어집시스템 프롬프트
    프롬프트 라이브러리Cosmic KeystrokesCorporate clairvoyantWebsite wizardExcel formula expertGoogle apps scripterPython bug busterTime travel consultantStorytelling sidekick출처 인용SQL sorcererDream interpreterPun-ditCulinary creatorPortmanteau poetHal the humorous helperLaTeX legendMood colorizerGit gudSimile savantEthical dilemma navigatorMeeting scribeIdiom illuminatorCode consultantFunction fabricatorNeologism creatorCSV converterEmoji encoderProse polisherPerspectives pondererTrivia generatorMindfulness mentorSecond-grade simplifierVR fitness innovatorPII purifierMemo maestroCareer coachGrading guruTongue twisterInterview question crafterGrammar genieRiddle me thisCode clarifierAlien anthropologistData organizerBrand builderEfficiency estimatorReview classifierDirection decoderMotivational museEmail extractorMaster moderatorLesson plannerSocratic sageAlliteration alchemistFuturistic fashion advisorPolyglot superpowersProduct naming proPhilosophical musingsSpreadsheet sorcererSci-fi scenario simulatorAdaptive editorBabel's broadcastsTweet tone detectorAirport code analyst
    Console
    Log in
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Partners

    • Amazon Bedrock
    • Google Cloud's Vertex AI

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Help and security

    • Availability
    • Status
    • Support
    • Discord

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy
    프롬프트 라이브러리

    공항 코드 분석기

    텍스트에서 공항 코드를 찾고 추출합니다.

    이 프롬프트를 개발자 Console에 복사하여 직접 시도해보세요!

    내용
    System제공된 텍스트를 분석하고 그 안에 언급된 공항 코드를 식별하는 것이 당신의 임무입니다. 이러한 공항 코드를 텍스트에 나타나는 순서대로 목록으로 제시하세요. 공항 코드가 발견되지 않으면 빈 목록을 반환하세요.
    User제 다음 여행은 시애틀에서 암스테르담으로 비행하는 것입니다. 암스테르담에서 며칠을 보낸 후 파리로 가서 로마로 가는 연결 항공편을 탈 예정입니다.

    예시 출력

    다음은 텍스트에 언급된 공항 코드 목록으로, 나타나는 순서대로 정리했습니다:

    1. SEA (시애틀)
    2. AMS (암스테르담)
    3. CDG (파리)
    4. FCO (로마)

    API 요청

    import anthropic
    
    client = anthropic.Anthropic(
        # defaults to os.environ.get("ANTHROPIC_API_KEY")
        api_key="my_api_key",
    )
    message = client.messages.create(
        model="claude-sonnet-4-5",
        max_tokens=1000,
        temperature=0,
        system="제공된 텍스트를 분석하고 그 안에 언급된 공항 코드를 식별하는 것이 당신의 임무입니다. 이러한 공항 코드를 텍스트에 나타나는 순서대로 목록으로 제시하세요. 공항 코드가 발견되지 않으면 빈 목록을 반환하세요.",
        messages=[
            {
                "role": "user",
                "content": [
                    {
                        "type": "text",
                        "text": "제 다음 여행은 시애틀에서 암스테르담으로 비행하는 것입니다. 암스테르담에서 며칠을 보낸 후 파리로 가서 로마로 가는 연결 항공편을 탈 예정입니다."
                    }
                ]
            }
        ]
    )
    print(message.content)
    
    • API 요청