brk-code

langchain-google の API リファレンス

langchain-google (langchain-ai/langchain-google) の公開 API 84 件 —— クラス 44、関数 12、メソッド 28。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。

リポジトリ: langchain-ai/langchain-google

種別件数
クラス44
関数12
メソッド28

API 一覧

funclibs.community.langchain_google_community._utils.get_user_agent(module:Optional[str]=None) -> Tuple[str, str]
Returns a custom user agent header.
funclibs.community.langchain_google_community._utils.import_google() -> Tuple[Request, Credentials, ServiceCredentials]
Import google libraries.
funclibs.community.langchain_google_community._utils.import_installed_app_flow() -> InstalledAppFlow
Import `InstalledAppFlow` class.
classlibs.community.langchain_google_community.bigquery.BigQueryLoader
Load documents from Google Cloud BigQuery.
classlibs.community.langchain_google_community.calendar.base.CalendarBaseTool
Base class for Google Calendar tools.
methodlibs.community.langchain_google_community.calendar.base.CalendarBaseTool.from_api_resource(api_resource:Resource) -> 'CalendarBaseTool'
Create a tool from an api resource.
classlibs.community.langchain_google_community.calendar.create_event.CreateEventSchema
Input schema for `CalendarCreateEvent`.
classlibs.community.langchain_google_community.calendar.delete_event.DeleteEventSchema
Input schema for `CalendarDeleteEvent`.
classlibs.community.langchain_google_community.calendar.move_event.MoveEventSchema
Input schema for `CalendarMoveEvent`.
classlibs.community.langchain_google_community.calendar.update_event.UpdateEventSchema
Input schema for `CalendarUpdateEvent`.
funclibs.community.langchain_google_community.calendar.utils.is_all_day_event(start_datetime:str, end_datetime:str) -> bool
Check if the event is all day.
classlibs.community.langchain_google_community.docai.DocAIParser
Google Cloud Document AI parser.
methodlibs.community.langchain_google_community.docai.DocAIParser.lazy_parse(blob:Blob) -> Iterator[Document]
Parses a blob lazily.
classlibs.community.langchain_google_community.drive.GoogleDriveLoader
Load documents from Google Drive.
methodlibs.community.langchain_google_community.drive.GoogleDriveLoader.load() -> List[Document]
Load documents.
methodlibs.community.langchain_google_community.drive.GoogleDriveLoader.validate_credentials_path(v:Any, **kwargs:Any) -> Any
Validate that credentials_path exists.
methodlibs.community.langchain_google_community.gcs_directory.GCSDirectoryLoader.load() -> List[Document]
Load documents.
classlibs.community.langchain_google_community.gcs_file.GCSFileLoader
Load documents from Google Cloud Storage file.
methodlibs.community.langchain_google_community.gcs_file.GCSFileLoader.load() -> List[Document]
Load documents.
classlibs.community.langchain_google_community.geocoding.GoogleGeocodeInput
Input schema for `GoogleGeocodingTool`.
classlibs.community.langchain_google_community.geocoding.GoogleGeocodingAPIWrapper
Wrapper for Google Maps Geocoding API.
methodlibs.community.langchain_google_community.geocoding.GoogleGeocodingAPIWrapper.clean_results(results:List[Dict]) -> List[Dict]
Clean and format results.
methodlibs.community.langchain_google_community.geocoding.GoogleGeocodingAPIWrapper.geocode_async(query:str, language:Optional[str]=None, region:Optional[str]=None) -> Dict[str, Any]
Geocode query asynchronously.
methodlibs.community.langchain_google_community.geocoding.GoogleGeocodingAPIWrapper.validate_environment(values:Dict) -> Any
Validate that api key exists in environment.
classlibs.community.langchain_google_community.gmail.base.GmailBaseTool
Base class for Gmail tools.
methodlibs.community.langchain_google_community.gmail.base.GmailBaseTool.from_api_resource(api_resource:Resource) -> 'GmailBaseTool'
Create a tool from an api resource.
classlibs.community.langchain_google_community.gmail.create_draft.CreateDraftSchema
Input schema for `CreateDraftTool`.
classlibs.community.langchain_google_community.gmail.create_draft.GmailCreateDraft
Tool that creates a draft email for Gmail.
classlibs.community.langchain_google_community.gmail.get_message.GmailGetMessage
Tool that gets a message by ID from Gmail.
classlibs.community.langchain_google_community.gmail.get_message.SearchArgsSchema
Input schema for `GetMessageTool`.
classlibs.community.langchain_google_community.gmail.get_thread.GetThreadSchema
Input schema for `GetThreadTool`.
classlibs.community.langchain_google_community.gmail.get_thread.GmailGetThread
Tool that gets a thread by ID from Gmail.
classlibs.community.langchain_google_community.gmail.loader.GMailLoader
Load chat sessions from Gmail.
classlibs.community.langchain_google_community.gmail.search.Resource
Enumerator of Resources to search.
classlibs.community.langchain_google_community.gmail.search.SearchArgsSchema
Input schema for `SearchGmailTool`.
classlibs.community.langchain_google_community.gmail.send_message.GmailSendMessage
Tool that sends a message to Gmail.
classlibs.community.langchain_google_community.gmail.send_message.SendMessageSchema
Input schema for `SendMessageTool`.
classlibs.community.langchain_google_community.gmail.toolkit.GmailToolkit
Toolkit for interacting with Gmail.
methodlibs.community.langchain_google_community.gmail.toolkit.GmailToolkit.get_tools() -> List[BaseTool]
Get the tools in the toolkit.
funclibs.community.langchain_google_community.gmail.utils.clean_email_body(body:str) -> str
Clean email body.
classlibs.community.langchain_google_community.model_armor.base_runnable.ModelArmorParams
Model Armor parameters.
methodlibs.community.langchain_google_community.model_armor.base_runnable.ModelArmorParams.validate_project() -> 'ModelArmorParams'
Validate the project ID.
classlibs.community.langchain_google_community.places_api.GooglePlacesAPIWrapper
Wrapper around Google Places API.
classlibs.community.langchain_google_community.places_api.GooglePlacesSchema
Input schema for `GooglePlacesTool`.
classlibs.community.langchain_google_community.places_api.GooglePlacesTool
Tool that queries the Google Places API.
classlibs.community.langchain_google_community.search.GoogleSearchAPIWrapper
Wrapper for Google Custom Search API.
methodlibs.community.langchain_google_community.search.GoogleSearchAPIWrapper.run(query:str) -> str
Run query through Google Search and parse result.
classlibs.community.langchain_google_community.sheets.base.SheetsBaseTool
Base class for Google Sheets tools.
methodlibs.community.langchain_google_community.sheets.base.SheetsBaseTool.from_api_key(api_key:str) -> 'SheetsBaseTool'
Create a tool from an API key.
methodlibs.community.langchain_google_community.sheets.base.SheetsBaseTool.from_api_resource(api_resource:Resource) -> 'SheetsBaseTool'
Create a tool from an API resource.
classlibs.community.langchain_google_community.sheets.enums.DateTimeRenderOption
Google Sheets date/time render options.
classlibs.community.langchain_google_community.sheets.enums.MajorDimension
Google Sheets major dimension options.
classlibs.community.langchain_google_community.sheets.enums.ValueRenderOption
Google Sheets value render options.
classlibs.community.langchain_google_community.sheets.read_sheet_tools.ReadSheetDataSchema
Input schema for `SheetsReadDataTool`.
classlibs.community.langchain_google_community.sheets.toolkit.SheetsToolkit
Toolkit for interacting with Google Sheets.
methodlibs.community.langchain_google_community.sheets.toolkit.SheetsToolkit.get_tools() -> List[BaseTool]
Get the tools in the toolkit.
funclibs.community.langchain_google_community.sheets.utils.validate_a1_range(range_name:str) -> bool
Validate A1 notation range format.
funclibs.community.langchain_google_community.sheets.utils.validate_range_name(range_name:str) -> str
Validate and normalize a range name.
funclibs.community.langchain_google_community.sheets.utils.validate_spreadsheet_id(spreadsheet_id:str) -> str
Validate and normalize a Google Spreadsheet ID.
classlibs.community.langchain_google_community.vertex_ai_search.VertexAISearchRetriever
`Google Vertex AI Search` retriever.
funclibs.genai.langchain_google_genai._common.get_user_agent(module:str | None=None) -> tuple[str, str]
Returns a custom user agent header.
classlibs.genai.langchain_google_genai._image_utils.Route
Image loading route.
classlibs.genai.langchain_google_genai.chat_models.ChatGoogleGenerativeAI
Google GenAI chat model integration.
methodlibs.genai.langchain_google_genai.chat_models.ChatGoogleGenerativeAI.get_num_tokens(text:str) -> int
Get the number of tokens present in the text.
methodlibs.genai.langchain_google_genai.chat_models.ChatGoogleGenerativeAI.validate_environment() -> Self
Validates params and builds client.
classlibs.genai.langchain_google_genai.embeddings.GoogleGenerativeAIEmbeddings
Google Generative AI Embeddings.
methodlibs.genai.langchain_google_genai.embeddings.GoogleGenerativeAIEmbeddings.embed_query(text:str, *task_type:str | None=None, *title:str | None=None, *output_dimensionality:int | None=None) -> list[float]
Embed a single text.
classlibs.vertexai.langchain_google_vertexai._image_utils.Route
Image Loading Route.
funclibs.vertexai.langchain_google_vertexai._utils.enforce_stop_tokens(text:str, stop:list[str]) -> str
Cut off the text as soon as any stop words occur.
funclibs.vertexai.langchain_google_vertexai._utils.get_user_agent(module:str | None=None) -> tuple[str, str]
Returns a custom user agent header.
funclibs.vertexai.langchain_google_vertexai._utils.load_image_from_gcs(path:str, project:str | None=None) -> Image
Loads an `Image` from GCS.
methodlibs.vertexai.langchain_google_vertexai.callbacks.VertexAICallbackHandler.on_llm_end(response:LLMResult, **kwargs:Any) -> None
Collects token usage.
methodlibs.vertexai.langchain_google_vertexai.callbacks.VertexAICallbackHandler.on_llm_new_token(token:str | list[str | dict[str, Any]], **kwargs:Any) -> None
Runs on new LLM token.
methodlibs.vertexai.langchain_google_vertexai.callbacks.VertexAICallbackHandler.on_llm_start(serialized:dict[str, Any], prompts:list[str], **kwargs:Any) -> None
Runs when LLM starts running.
methodlibs.vertexai.langchain_google_vertexai.chat_models.ChatVertexAI.get_num_tokens(text:str) -> int
Get the number of tokens present in the text.
classlibs.vertexai.langchain_google_vertexai.embeddings.VertexAIEmbeddings
Google Cloud VertexAI embedding models.
methodlibs.vertexai.langchain_google_vertexai.embeddings.VertexAIEmbeddings.embed(texts:list[str], embeddings_task_type:EmbeddingTaskTypes | None=None, dimensions:int | None=None, title:str | None=None) -> list[list[float]]
Embed a list of strings.
methodlibs.vertexai.langchain_google_vertexai.embeddings.VertexAIEmbeddings.embed_documents(texts:list[str], *embeddings_task_type:EmbeddingTaskTypes='RETRIEVAL_DOCUMENT') -> list[list[float]]
Embed a list of documents.
methodlibs.vertexai.langchain_google_vertexai.embeddings.VertexAIEmbeddings.embed_query(text:str, *embeddings_task_type:EmbeddingTaskTypes='RETRIEVAL_QUERY') -> list[float]
Embed a text.
methodlibs.vertexai.langchain_google_vertexai.evaluators._core.StringEvaluator.evaluation_name() -> str
The name of the evaluation.
classlibs.vertexai.langchain_google_vertexai.functions_utils.PydanticFunctionsOutputParser
Parse an output as a pydantic object.
methodlibs.vertexai.langchain_google_vertexai.llms.VertexAI.get_num_tokens(text:str) -> int
Get the number of tokens present in the text.
classlibs.vertexai.langchain_google_vertexai.vision_models.VertexAIImageGeneratorChat
Generates an image from a prompt.
classlibs.vertexai.langchain_google_vertexai.vision_models.VertexAIVisualQnAChat
Chat implementation of a visual QnA model.

この情報について

掲載しているシグネチャは langchain-ai/langchain-google の公開ソースコードを Python の ast モジュールで静的解析し、引数名・デフォルト値・ 型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。 詳しくは仕組みの解説をご覧ください。

収録ライブラリ一覧(全 805 件)へ戻る