will install the corresponding Lemon AI client which you can then import into your script.The tool uses Python packages langchain and loguru. In case of any installation errors with Lemon AI, install both packages first and then install the Lemon AI package.2. Launch the Server‚ÄãThe interaction of your agents and all tools provided by Lemon AI is handled by the Lemon AI Server. To use Lemon AI you need to run the server on your local machine so the Lemon AI Python client can connect to it.3. Use Lemon AI with Langchain‚ÄãLemon AI automatically solves given tasks by finding the right combination of relevant tools or uses Lemon AI Functions as an alternative. The following example demonstrates how to retrieve a user from Hackernews and write it to a table in Airtable:(Optional) Define your Lemon AI Functions‚ÄãSimilar to OpenAI functions, Lemon AI provides the option to define workflows as reusable functions. These functions can be defined for use cases where it is especially important to move as close as possible to near-deterministic behavior. Specific workflows can be defined in a separate lemonai.json:[  {    "name": "Hackernews Airtable User Workflow",    "description": "retrieves user data from Hackernews and appends it to a table in Airtable",    "tools": ["hackernews-get-user", "airtable-append-data"]  }]Your model will have access to these functions and will prefer them over self-selecting tools to solve a given task. All you have to do is to let the agent know that it should use a given function by including the function name in the prompt.Include Lemon AI in your Langchain project‚Äãimport osfrom lemonai import execute_workflowfrom langchain.llms import OpenAILoad API Keys and Access Tokens‚ÄãTo use tools that require authentication, you have to store the corresponding access credentials in your environment in the format "{tool name}_{authentication string}" where the authentication string is one of ["API_KEY", "SECRET_KEY", "SUBSCRIPTION_KEY",
Lemon Agent helps you build powerful AI assistants in minutes and automate workflows by allowing for accurate and reliable read and write operations in tools like Airtable, Hubspot, Discord, Notion, Slack and Github.
Lemon Agent helps you build powerful AI assistants in minutes and automate workflows by allowing for accurate and reliable read and write operations in tools like Airtable, Hubspot, Discord, Notion, Slack and Github. ->: will install the corresponding Lemon AI client which you can then import into your script.The tool uses Python packages langchain and loguru. In case of any installation errors with Lemon AI, install both packages first and then install the Lemon AI package.2. Launch the Server‚ÄãThe interaction of your agents and all tools provided by Lemon AI is handled by the Lemon AI Server. To use Lemon AI you need to run the server on your local machine so the Lemon AI Python client can connect to it.3. Use Lemon AI with Langchain‚ÄãLemon AI automatically solves given tasks by finding the right combination of relevant tools or uses Lemon AI Functions as an alternative. The following example demonstrates how to retrieve a user from Hackernews and write it to a table in Airtable:(Optional) Define your Lemon AI Functions‚ÄãSimilar to OpenAI functions, Lemon AI provides the option to define workflows as reusable functions. These functions can be defined for use cases where it is especially important to move as close as possible to near-deterministic behavior. Specific workflows can be defined in a separate lemonai.json:[  {    "name": "Hackernews Airtable User Workflow",    "description": "retrieves user data from Hackernews and appends it to a table in Airtable",    "tools": ["hackernews-get-user", "airtable-append-data"]  }]Your model will have access to these functions and will prefer them over self-selecting tools to solve a given task. All you have to do is to let the agent know that it should use a given function by including the function name in the prompt.Include Lemon AI in your Langchain project‚Äãimport osfrom lemonai import execute_workflowfrom langchain.llms import OpenAILoad API Keys and Access Tokens‚ÄãTo use tools that require authentication, you have to store the corresponding access credentials in your environment in the format "{tool name}_{authentication string}" where the authentication string is one of ["API_KEY", "SECRET_KEY", "SUBSCRIPTION_KEY",