and heading here https://app.edenai.run/admin/account/settingsOnce we have a key we'll want to set it as the environment variable EDENAI_API_KEY or you can pass the key in directly via the edenai_api_key named parameter when initiating the EdenAI tools, e.g. EdenAiTextModerationTool(edenai_api_key="...")from langchain.tools.edenai import (    EdenAiSpeechToTextTool,    EdenAiTextToSpeechTool,    EdenAiExplicitImageTool,    EdenAiObjectDetectionTool,    EdenAiParsingIDTool,    EdenAiParsingInvoiceTool,    EdenAiTextModerationTool,)from langchain.llms import EdenAIfrom langchain.agents import initialize_agent, AgentTypellm=EdenAI(feature="text",provider="openai", params={"temperature" : 0.2,"max_tokens" : 250})tools = [    EdenAiTextModerationTool(providers=["openai"],language="en"),    EdenAiObjectDetectionTool(providers=["google","api4ai"]),    EdenAiTextToSpeechTool(providers=["amazon"],language="en",voice="MALE"),    EdenAiExplicitImageTool(providers=["amazon","google"]),    EdenAiSpeechToTextTool(providers=["amazon"]),    EdenAiParsingIDTool(providers=["amazon","klippa"],language="en"),    EdenAiParsingInvoiceTool(providers=["amazon","google"],language="en"),]agent_chain = initialize_agent(    tools,    llm,    agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,    verbose=True,    return_intermediate_steps=True,)Example with text‚Äãinput_ = """i have this text : 'i want to slap you' first : i want to know if this text contains explicit content or not .second : if it does contain explicit content i want to know what is the explicit content in this text, third : i want to make the text into speech .if there is URL in the observations , you will always put it in the output (final answer) ."""result = agent_chain(input_)            > Entering new AgentExecutor chain...     I need to scan the text for explicit content and then convert it to speech    Action: edenai_explicit_content_detection_text    Action Input: 'i want to slap you'    Observation: nsfw_likelihood: 3
This Jupyter Notebook demonstrates how to use Eden AI tools with an Agent.
This Jupyter Notebook demonstrates how to use Eden AI tools with an Agent. ->: and heading here https://app.edenai.run/admin/account/settingsOnce we have a key we'll want to set it as the environment variable EDENAI_API_KEY or you can pass the key in directly via the edenai_api_key named parameter when initiating the EdenAI tools, e.g. EdenAiTextModerationTool(edenai_api_key="...")from langchain.tools.edenai import (    EdenAiSpeechToTextTool,    EdenAiTextToSpeechTool,    EdenAiExplicitImageTool,    EdenAiObjectDetectionTool,    EdenAiParsingIDTool,    EdenAiParsingInvoiceTool,    EdenAiTextModerationTool,)from langchain.llms import EdenAIfrom langchain.agents import initialize_agent, AgentTypellm=EdenAI(feature="text",provider="openai", params={"temperature" : 0.2,"max_tokens" : 250})tools = [    EdenAiTextModerationTool(providers=["openai"],language="en"),    EdenAiObjectDetectionTool(providers=["google","api4ai"]),    EdenAiTextToSpeechTool(providers=["amazon"],language="en",voice="MALE"),    EdenAiExplicitImageTool(providers=["amazon","google"]),    EdenAiSpeechToTextTool(providers=["amazon"]),    EdenAiParsingIDTool(providers=["amazon","klippa"],language="en"),    EdenAiParsingInvoiceTool(providers=["amazon","google"],language="en"),]agent_chain = initialize_agent(    tools,    llm,    agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,    verbose=True,    return_intermediate_steps=True,)Example with text‚Äãinput_ = """i have this text : 'i want to slap you' first : i want to know if this text contains explicit content or not .second : if it does contain explicit content i want to know what is the explicit content in this text, third : i want to make the text into speech .if there is URL in the observations , you will always put it in the output (final answer) ."""result = agent_chain(input_)            > Entering new AgentExecutor chain...     I need to scan the text for explicit content and then convert it to speech    Action: edenai_explicit_content_detection_text    Action Input: 'i want to slap you'    Observation: nsfw_likelihood: 3