The SmartUp Python Package is a Python interface to the SmartUp API, providing methods for interacting with the SmartUp platform.
SmartUp uses LLMs and ML models for communication, language understanding, and data analysis to accelerate business processes.
Install it from PyPI:
pip install smartup
And keep updated:
pip install --upgrade smartup
Once installed, set up the SMARTUP_SERVER_URL
environment variable which points to your SmartUp server URL. You can set up temporarily the server url like this on MacOS/Linux:
export SMARTUP_SERVER_URL="https://yourapifromsmartup.dev"
You can checkout hello_world.py for a functional example that you can run.
It's very easy to chat with an agent. Based on previous messages, you can chat with an agent.
response = SmartUp.chat.create(
agent_name="moishele",
messages=[{
"role": "user",
"content": "Hola Moishele, ¿cómo estás?"
}]
)
print(response) # "¡Shalom y un montón de alegrías para ti! Estoy tan bien como un bagel en un brunch dominical 😄."
This section will be updated soon.
- Communication with an agent
- Make a flow between agents
- Compile system prompts
- Validates variables
This project is licensed under the MIT License.
See the LICENSE file for more details.