DeveloperKnowledge
import { DeveloperKnowledge } from "https://googleapis.deno.dev/v1/developerknowledge:v1.ts";The Developer Knowledge API provides access to Google's developer knowledge.
class DeveloperKnowledge {}
async documentsSearchDocumentChunks(opts?: DocumentsSearchDocumentChunksOptions): Promise<SearchDocumentChunksResponse>;
§Methods
§
documentsBatchGet(opts?: DocumentsBatchGetOptions): Promise<BatchGetDocumentsResponse>
[src]Retrieves multiple documents, each with its full Markdown content.
§
Retrieves a single document with its full Markdown content.
@param name
Required. Specifies the name of the document to retrieve. Format: documents/{uri_without_scheme} Example: documents/docs.cloud.google.com/storage/docs/creating-buckets
§
documentsSearchDocumentChunks(opts?: DocumentsSearchDocumentChunksOptions): Promise<SearchDocumentChunksResponse>
[src]Searches for developer knowledge across Google's developer documentation. Returns DocumentChunks based on the user's query. There may be many chunks from the same Document. To retrieve full documents, use DeveloperKnowledge.GetDocument or DeveloperKnowledge.BatchGetDocuments with the DocumentChunk.parent returned in the SearchDocumentChunksResponse.results.