Tool Ahead of Time (TAoT)
Project description
Tool Ahead of Time (TAoT)
A Python package for creating and managing tool-enabled AI agents using LangChain and OpenAI.
Installation
pip install taot
Usage
from taot import create_system_message_taot, create_react_agent_taot
from langchain_openai import ChatOpenAI
# Initialize
model = ChatOpenAI()
# Create system message
system_message = "Your system message here..."
system_message_taot = create_system_message_taot(system_message)
# Prepare messages
messages = [
{"role": "system", "content": system_message_taot},
{"role": "user", "content": "Your user message here..."}
]
# Create and invoke agent
agent = create_react_agent_taot(model, tools=[your_tools])
response = agent.invoke({"messages": messages})
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
taot-0.1.1.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
taot-0.1.1-py3-none-any.whl
(5.0 kB
view details)
File details
Details for the file taot-0.1.1.tar.gz.
File metadata
- Download URL: taot-0.1.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9457a47ad07d35f2994c495b1c066e7142d00022c21fa1fb5f12721cc997269
|
|
| MD5 |
09adabfa5649ccb2b230b14eb9fd3a06
|
|
| BLAKE2b-256 |
9818f3eb943363b45e56fe2c73668a7098c15f6d79e9b91e48a95d47c9385204
|
File details
Details for the file taot-0.1.1-py3-none-any.whl.
File metadata
- Download URL: taot-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
280a7a83ffdd1e1fbc0b806d4bd5703bac3596f5d37c24d804cdf44f9ab65e53
|
|
| MD5 |
1a1e2a7ca74c0c374d46b7b3e0197f10
|
|
| BLAKE2b-256 |
a0675035891b64ee763cc5402decf9762784adf033f5acf63543a6ad3131f08d
|