Skip to main content

LangChain tools for Palate Network — venue intelligence from AI agents

Project description

palate-langchain

LangChain tools for Palate Network — venue intelligence from AI agents.

Install

pip install palate-langchain

Quick start

from langchain.agents import AgentExecutor, create_tool_calling_agent
from langchain_openai import ChatOpenAI
from palate_langchain import palate_tools

llm = ChatOpenAI(model="gpt-4o")
agent = create_tool_calling_agent(llm, palate_tools, prompt)
executor = AgentExecutor(agent=agent, tools=palate_tools)

result = executor.invoke({"input": "Find the best ramen in Brooklyn"})

To submit reviews or observations, set your API key:

export PALATE_API_KEY=your_key_here

Tools

Tool Description
palate_search Search venues by natural language query
palate_venue_lookup Look up a specific venue by name
palate_submit_review Submit a venue review with rating and text
palate_submit_observation Submit a lightweight observation about a venue

Usage examples

from palate_langchain import palate_search, palate_venue_lookup

# Search works without auth
result = palate_search.invoke({"query": "best tacos in Austin"})

# Venue lookup
info = palate_venue_lookup.invoke({"name": "Tatiana by Kwame"})

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

palate_langchain-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

palate_langchain-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file palate_langchain-0.1.0.tar.gz.

File metadata

  • Download URL: palate_langchain-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for palate_langchain-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fcb19b7461958fd2b13bdef2539f6b8b7da390db207c24a8f65403d58aa22f6c
MD5 053d718410b9933561f2a307aad20a17
BLAKE2b-256 70fcb7a218757bad3edcc63ec675f2cb8532dde1282a86068a908e4102c012e8

See more details on using hashes here.

File details

Details for the file palate_langchain-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for palate_langchain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0ec9ab90b7557dd85bfb64044be1682c75b3920ffbf2eef5c8401748150af94
MD5 10b883f5ec694776f9e195e6ecff7950
BLAKE2b-256 e3acf4902999142dc583c73d360e8360f8b0c88864c9156e81d345d9ca1a219d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page