Overview
Integration details
Class | Package | Serializable | JS support | Version |
---|---|---|---|---|
create_entity_tool , search_entities_tool , get_entity_by_ref_tool , update_entity_by_ref_tool , add_comment_by_ref_tool , add_attachment_by_ref_tool | langchain-taiga | N/A | TBD |
Tool features
create_entity_tool
: Creates user stories, tasks and issues in Taiga.search_entities_tool
: Searches for user stories, tasks and issues in Taiga.get_entity_by_ref_tool
: Gets a user story, task or issue by reference.update_entity_by_ref_tool
: Updates a user story, task or issue by reference.add_comment_by_ref_tool
: Adds a comment to a user story, task or issue.add_attachment_by_ref_tool
: Adds an attachment to a user story, task or issue.
Setup
The integration lives in thelangchain-taiga
package.
Credentials
This integration requires you to setTAIGA_URL
, TAIGA_API_URL
, TAIGA_USERNAME
, TAIGA_PASSWORD
and OPENAI_API_KEY
as environment variables to authenticate with Taiga.
Instantiation
Below is an example showing how to instantiate the Taiga tools inlangchain_taiga
. Adjust as needed for your specific usage.
Invocation
Direct invocation with args
Below is a simple example of calling the tool with keyword arguments in a dictionary.Invocation with ToolCall
If you have a model-generatedToolCall
, pass it to tool.invoke()
in the format shown below.
Chaining
Below is a more complete example showing how you might integrate thecreate_entity_tool
and search_entities_tool
tools in a chain or agent with an LLM. This example assumes you have a function (like create_agent
) that sets up a LangChain-style agent capable of calling tools when appropriate.