DeepSearch Guide
  • 딥서치 가이드
  • DeepSearch API
    • DeepSearch Data Platform
    • API 사용 방법
    • 데이터
      • 시장데이터
      • 개요데이터
      • 문서데이터
      • 재무데이터
        • 분기재무제표 쿼리
    • 기본적인 데이터 조회 방법
    • 쿼리를 통한 데이터 조회
      • 딥서치 쿼리 설명 및 응용
      • 기업검색
        • 데이터 기반 기업 검색
        • 문서 기반 기업 검색(뉴스, 증권사리포트, IR, 특허)
        • 주주 기반 기업 검색
        • 산업 기반 기업 검색
        • 사업 기반 기업 검색
        • 주소 기반 기업 검색
        • 기업명 기반 기업 검색
        • 외부감사여부 기반 기업 검색
        • 폐업여부 기반 기업 검색
        • 상장여부 기반 기업 검색
      • 조회된 데이터를 연산
      • FAQ 및 에러모음
    • API 함수를 통한 데이터 조회
      • 국내기업
        • 기업 검색
          • FindEntity
          • GetEntitySummary
          • FindEntityByName
          • FindEntityByShareholderName
          • FindEntityByIndustryID
          • FindEntityByBusinessArea
          • FindEntityByAddress
          • FindEntityInDocuments
          • FindAssociatedEntity
          • SearchFinancialStatementsAuditOpinion
        • 기업 정보 조회
          • GetCompanySummary
          • GetCompanyHistory
          • GetCompanyBusinessGoal
          • GetCompanyBusinessSummary
          • GetCompanyRelatedFirms
          • GetCompanyProductsSales
          • GetCompanyDebts
          • GetCompanyDividends
          • GetCompanyShareholders
          • GetCompanyEmployees
          • GetCompanyExecutives
          • GetCompanyBranches
          • GetFinancialStatementsAuditOpinion
        • 재무제표 조회
          • GetFinancialStatements
          • GetAvailableFinancialStatements
        • 공시 정보 조회
          • GetDartCapitalChange
          • GetDartDividends
          • GetDartShareRepurchase
          • GetDartMajorityShareholders
          • GetDartMajorityShareholderChange
          • GetDartMinorityShareholders
          • GetDartExecutives
          • GetDartEmployees
          • GetDartIndividualDirectorCompensation
          • GetDartOverallDirectorCompensation
          • GetDartTopIndividualCompensation
          • GetDartInvestmentInOthers
        • 컨센서스 정보 조회
          • GetConsensusInstitutionList
          • GetConsensusAnalystList
          • SearchAnalystReports
          • SearchTargetPrices
          • SearchFirmFundamentalsForecasts
        • 이슈 기업 목록 조회
          • GetCompanyShareholderChanges
          • GetTargetPriceConsensusChange
          • GetFundamentalsConsensusChange
        • 주가 정보 조회
          • GetStockSymbols
          • GetStockPrices
          • GetMarketIndexSymbols
          • GetMarketIndexes
        • 채권 정보 조회
          • GetBondClassificationCodeList
          • GetBondIssuerList
          • GetBondIssuerListFromIndustry
          • GetBondIssuerSummaryInfo
          • GetBondClassSummaryInfo
          • GetBondSummaryInfoPerIndustry
          • GetLatestBondIssues
          • SearchBondIssuerByName
          • GetBondIssuanceHistory
          • GetBondRepaymentSchedule
          • GetBondYields
          • GetBondYieldsForIndustry
          • GetAverageBondYieldTimeSeries
          • GetInterpolatedBondYields
          • GetRiskFreeYields
          • GetBondYieldPrincipalComponents
          • ConvertBondIssuerCodeToNICESymbol
          • ConvertNICESymbolToBondIssuerCode
      • 해외기업
        • 기업 정보 조회
          • 기업 목록 조회
          • 기업 개요 조회
          • 기업 재무 데이터 조회
        • 주가 정보 조회
          • 주가 정보 조회
      • 산업
        • 산업 정보 조회
          • GetAggregateIndustryInfo
          • GetAggregateIndustryConsensus
          • GetMarketSummaryInfoByIndustry
        • 기업 주제 조회
          • GetConditionalTagMetadata
          • FindEntityByTag
          • GetEntityTags
        • 기업 집단 정보 조회
          • FindConglomerateByName
          • FindConglomerateByID
          • GetConglomerateMembers
          • GetConglomerateFinancialStatements
      • 인물
        • 기업 임원 검색
          • FindPersonBio
          • FindPeopleByName
          • FindPeopleByBirthday
        • 주식 부자 목록 추출
          • FindRichestShareholders
      • 문서
        • 문서 검색
          • DocumentSearch
            • 문서 심화검색
          • DocumentTrends
          • DocumentAggregation
          • GetSentimentScore
        • 토픽 검색
          • SearchTrendingTopics
          • GetTrendingTopic
          • SearchHistoricalTopics
          • GetHistoricalTopic
        • 유사 단어 추출
          • SimilarKeywords
      • 이벤트
        • 주식 포트폴리오 성과 분석
          • ComputePortfolioReturns
          • AnalyzePortfolioReturns
        • 주식 시장 이벤트 분석
          • ComputeEventDayStockReturns
          • ComputeStockReturnCorrelationWith
          • GetIndustryReturnsOnEventDates
          • GetCumulativeIndustryReturns
        • 채권 시장 이벤트 분석
          • GetBondYieldChangesPerIssuer
          • GetBondYieldChangesPerClassification
          • GetBondYieldChangesPerIndustry
      • 경제 지표
        • 경제 지표 검색
          • FindEntity
        • 한국은행 데이터 조회
          • QueryBankOfKoreaSeriesInfo
          • QueryBankOfKoreaSeriesInfoSimple
          • QueryBankOfKoreaSeriesData
          • QueryBankOfKoreaSeriesDataSimple
        • 미연방은행 (FRED) 데이터 조회
          • QueryFredSeriesInfo
          • QueryFredSeriesData
          • GetFredCategoryOfDataSeries
          • GetFredDataSeriesListUnderCategory
        • IMF 데이터 조회
          • GetImfSeriesInfo
          • GetImfSeriesValues
          • GetImfDataflowAnnotations
          • GetImfIndicatorListOfSameCountry
          • GetImfCountryListOfSameIndicator
        • OECD 데이터 조회
          • GetOecdSeriesInfo
          • GetOecdSeriesValues
          • GetOecdDatasetAnnotations
          • GetOecdRelatedIndicatorList
        • World Bank 데이터 조회
          • QueryWorldBankSeriesInfo
          • QueryWorldBankSeriesData
          • GetWorldBankCountryListOfIndicator
          • GetWorldBankIndicatorListOfSameSource
        • 통계청 데이터 조회
          • QueryKosisTableInfo
          • GetKosisAvailableSampleDates
          • GetKosisTableCategoryItemFreqList
          • QueryKosisCrossSectionData
          • QueryKosisTimeSeriesData
        • 딥서치 자체 수집 데이터 조회
          • QueryDeepSearchOwnSeriesInfo
          • QueryDeepSearchOwnSeriesValues
          • QueryDeepSearchOwnDataSeriesListOfSameCategory
    • 결과 레이아웃
      • Input
      • Result:DataFrame
      • Result:SingleValue
      • Result:DocumentSearchResult
      • Result:DocumentTrendsResult
      • Result:TrendingTopicsSearchResult
      • Result:TrendingTopicResult
      • Result:HistoricalTopicsSearchResult(검색)
      • Result:HistoricalTopicsSearchResult(상세)
      • Result:PortfolioReturns
      • Result:PortfolioAnalysis
    • 챗딥서치
      • 문서 QA
      • 딥서치 Function Call
    • 토픽 인사이트
      • Insight
      • Question
      • Answer
  • HELP CENTER
    • 자주 묻는 질문
      • 가입 및 회원 정보
      • 플랜 및 결제/환불
      • 데이터
      • 기업 발굴하기
    • 공지 사항
      • '딥서치 마이노트' 런칭 안내
      • '딥서치 신규 엑셀 애드인' 런칭 안내
      • '경제지표' 메뉴 일시 중단
      • '밸류에이션 자동화 서비스' 업데이트
      • 딥서치 홈 화면 개편 안내
Powered by GitBook
On this page
  • 문서 업로드
  • URL로 PDF 문서 업로드하기
  • 파일로 PDF 문서 업로드하기
  • 문서 요약 내용 생성
  • 업로드한 문서의 요약내용 생성
  • 업로드한 문서의 요약내용 생성
  • 문서 질문 생성
  • 업로드한 문서의 질문 생성
  • 업로드한 문서의 질문 생성
  • 문서 QA하기
  • 업로드한 문서의 질의응답하기
  • 업로드한 문서의 질의응답하기

Was this helpful?

  1. DeepSearch API
  2. 챗딥서치

문서 QA

딥서치에서 PDF 문서QA에 대해 설명합니다.

문서 업로드

질의응답하고 싶은 PDF 문서를 가져와 딥서치에 업로드 할 수 있습니다. 문서 업로드할 때 URL로 업로드하거나 PDF 파일을 직접 업로드할 수 있습니다.

1. URL로 문서 업로드

URL로 PDF 문서 업로드하기

POST https://api.deepsearch.com/note/v1/pdf/upload

질의응답하고 싶은 PDF 문서 URL를 가져와서 딥서치에 업로드 할 수 있습니다.

Request Body

Name
Type
Description

url*

String

문서 url

category

String

문서 카테고리

company_name

String

문서에 관련 기업명

company_symbol

String

문서에 관련 기업코드

{
    "success": true,
    "summary": "success",
    "uid": {{생성한 챗uid}},
    "uid_str": "{{생성한 챗uid}}",
    "url": "{{문서 url}}"
}
{
    "detail": {
        "code": 70004,
        "msg": "failed_to_upload"
    }
}
{
    "detail": {
        "code": 70004,
        "msg": "document_insufficient_data"
    }
}

2. PDF파일로 문서 업로드

파일로 PDF 문서 업로드하기

POST https://api.deepsearch.com/note/v1/pdf/upload

질의응답하고 싶은 PDF 문서 파일를 가져와서 딥서치에 업로드 할 수 있습니다. 파일 업로드 할 때 request body는 form-data로 사용합니다.

Request Body

Name
Type
Description

file*

File

PDF 파일

category

String

문서 카테고리

company_name

String

문서에 관련 기업명

company_symbol

String

문서에 관련 기업코드

{
    "success": true,
    "summary": "success",
    "uid": {{생성한 챗uid}},
    "uid_str": "{{생성한 챗uid}}",
    "url": "{{문서 url}}"
}
{
    "detail": {
        "code": 70004,
        "msg": "document_insufficient_data"
    }
}
{
    "detail": {
        "code": 70004,
        "msg": "failed_to_upload"
    }
}

문서 요약 내용 생성

업로드한 문서가 conversation_uid 가져와서 요약내용을 생성할 수 있습니다. conversation_uid없을 경우 최근 업로드한 문서를 사용합니다.

업로드한 문서의 요약내용 생성

GET https://api.deepsearch.com/note/v1/pdf/init_summary

업로드한 문서의 요약내용 생성

Request Body

Name
Type
Description

conversation_uid

String

업로드한 PDF의 챗UID

category

String

문서 카테고리

stream

boolean

client에서 결과 stream 여부

{
    "index": 0,
    "message": {
        "role": "assistant",
        "content": "{{요약 내용}}"
    },
    "finish_reason": "stop"
}
data: 

data: 삼

data: 성

data: 전

data: 자

data: 의

data:  매
........
........
{
    "detail": {
        "code": 70001,
        "msg": "document_not_found"
    }
}

업로드한 문서의 요약내용 생성

POST https://api.deepsearch.com/note/v1/pdf/init_summary

업로드한 문서의 요약내용 생성

Request Body

Name
Type
Description

conversation_uid

String

업로드한 PDF의 챗UID

category

String

문서 카테고리

stream

boolean

client에서 결과 stream 여부

{
    "index": 0,
    "message": {
        "role": "assistant",
        "content": "{{요약 내용}}"
    },
    "finish_reason": "stop"
}
data: 

data: 삼

data: 성

data: 전

data: 자

data: 의

data:  매
........
........
{
    "detail": {
        "code": 70001,
        "msg": "document_not_found"
    }
}

문서 질문 생성

업로드한 문서가 conversation_uid 가져와서 질문을 생성할 수 있습니다. conversation_uid없을 경우 최근 업로드한 문서를 사용합니다.

업로드한 문서의 질문 생성

GET https://api.deepsearch.com/note/v1/pdf/init_question

업로드한 문서의 질문 생성

Request Body

Name
Type
Description

conversation_uid

String

업로드한 PDF의 챗UID

category

String

문서 카테고리

stream

boolean

client에서 결과 stream 여부

{
    "index": 0,
    "message": {
        "role": "assistant",
        "content": "{{질문 내용}}"
    },
    "finish_reason": "stop"
}
data: 

data: 삼

data: 성

data: 전

data: 자

data: 의

data:  매
........
........
{
    "detail": {
        "code": 70001,
        "msg": "document_not_found"
    }
}

업로드한 문서의 질문 생성

POST https://api.deepsearch.com/note/v1/pdf/init_question

업로드한 문서의 질문 생성

Request Body

Name
Type
Description

conversation_uid

String

업로드한 PDF의 챗UID

category

String

문서 카테고리

stream

boolean

client에서 결과 stream 여부

{
    "index": 0,
    "message": {
        "role": "assistant",
        "content": "{{질문 내용}}"
    },
    "finish_reason": "stop"
}
data: 

data: 삼

data: 성

data: 전

data: 자

data: 의

data:  매
........
........
{
    "detail": {
        "code": 70001,
        "msg": "document_not_found"
    }
}

문서 QA하기

업로드한 문서가 conversation_uid 가져와서 문서에 대해 질의응답할 수 있습니다. conversation_uid없을 경우 최근 업로드한 문서를 사용합니다.

업로드한 문서의 질의응답하기

GET https://api.deepsearch.com/note/v1/pdf/answer

업로드한 문서의 질의응답하기

Request Body

Name
Type
Description

conversation_uid

String

업로드한 PDF의 챗UID

category

String

문서 카테고리

stream

boolean

client에서 결과 stream 여부

question*

String

사용자 질문

history

List

챗 히스토리

{
    "index": 0,
    "message": {
        "role": "assistant",
        "content": "{{답변}}"
    },
    "finish_reason": "stop"
}
data: 

data: 삼

data: 성

data: 전

data: 자

data: 의

data:  매
........
........
{
    "detail": {
        "code": 70001,
        "msg": "document_not_found"
    }
}
{
    "detail": {
        "code": 70001,
        "msg": "no_answer_found"
    }
}

업로드한 문서의 질의응답하기

POST https://api.deepsearch.com/note/v1/pdf/answer

업로드한 문서의 질의응답하기

Request Body

Name
Type
Description

conversation_uid

String

업로드한 PDF의 챗UID

category

String

문서 카테고리

stream

boolean

client에서 결과 stream 여부

question*

String

사용자 질문

history

List

챗 히스토리

{
    "index": 0,
    "message": {
        "role": "assistant",
        "content": "{{답변}}"
    },
    "finish_reason": "stop"
}
data: 

data: 삼

data: 성

data: 전

data: 자

data: 의

data:  매
........
........
{
    "detail": {
        "code": 70001,
        "msg": "document_not_found"
    }
}
{
    "detail": {
        "code": 70001,
        "msg": "no_answer_found"
    }
}
Previous챗딥서치Next딥서치 Function Call

Last updated 9 months ago

Was this helpful?

GPT처럼 으로 데이터 받기.

GPT처럼 으로 데이터 받기.

GPT처럼 으로 데이터 받기.

GPT처럼 으로 데이터 받기.

GPT처럼 으로 데이터 받기.

GPT처럼 으로 데이터 받기.

Server Sent Event (SSE)
Server Sent Event (SSE)
Server Sent Event (SSE)
Server Sent Event (SSE)
Server Sent Event (SSE)
Server Sent Event (SSE)