Skip to content

Commit

Permalink
Change nl endpoint from dev to datagemma (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
shifucun authored Aug 30, 2024
1 parent 9908b5a commit cd7d72d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions llm/data_gemma/datacommons.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Data Commons."""

import concurrent.futures
Expand All @@ -24,7 +23,6 @@
from data_gemma import base
from data_gemma import utils


_BASE_URL = 'https://{env}.datacommons.org/nodejs/query'

_POINT_MODE = 'toolformer_rig'
Expand All @@ -45,7 +43,7 @@ def __init__(
api_key: str,
verbose: bool = True,
num_threads: int = 10,
env: str = 'dev',
env: str = 'datagemma',
session: requests.Session | None = None,
):
self.options = base.Options(verbose=verbose)
Expand Down

0 comments on commit cd7d72d

Please sign in to comment.