Skip to content

Commit

Permalink
rename class
Browse files Browse the repository at this point in the history
  • Loading branch information
yuiseki committed Dec 29, 2024
1 parent b8f8848 commit 519ee5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/langchain/tools/osm/nominatim/geocode.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Tool } from "langchain/tools";

export class Nominatim extends Tool {
export class NominatimGeocode extends Tool {
name = "nominatim-geocode";
description = `useful for when you need to geocode address or name of location to latitude, longitude. Input: a address or a name of location.`;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Tool } from "langchain/tools";

export class Nominatim extends Tool {
export class NominatimOpenStreetMap extends Tool {
name = "nominatim-search-openstreetmap";
description = `useful for when you need to get OpenStreetMap entity by name of location. Input: a name of location.`;

Expand Down

0 comments on commit 519ee5c

Please sign in to comment.