llama-index readers linear integration
Project description
Linear Reader
pip install llama-index-readers-linear
The Linear loader returns issue based on the query.
Usage
Here's an example of how to use it
from llama_index.readers.linear import LinearReader
reader = LinearReader(api_key=api_key)
query = """
query Team {
team(id: "9cfb482a-81e3-4154-b5b9-2c805e70a02d") {
id
name
issues {
nodes {
id
title
description
assignee {
id
name
}
createdAt
archivedAt
}
}
}
}
"""
documents = reader.load_data(query=query)
Alternately, you can also use download_loader from llama_index
from llama_index.readers.linear import LinearReader
reader = LinearReader(api_key=api_key)
query = """
query Team {
team(id: "9cfb482a-81e3-4154-b5b9-2c805e70a02d") {
id
name
issues {
nodes {
id
title
description
assignee {
id
name
}
createdAt
archivedAt
}
}
}
}
"""
documents = reader.load_data(query=query)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for llama_index_readers_linear-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdd4bcb5a361f05d254cf79efe5e89f9d51aea10502fe8ecaa241ab4934f8b4d |
|
MD5 | d74252322c98e9456086a83233d4b7d8 |
|
BLAKE2b-256 | d450607222ab93f64c5e57ac3afd3f3046f098cac5b7b1f6c098afdbcf50e6e3 |
Close
Hashes for llama_index_readers_linear-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c62713af2f76a44ae90c82b82f0b0abaed1146437c6467951a367c3d2028b9ca |
|
MD5 | dd40285c9aeec66280133cdc1bb04132 |
|
BLAKE2b-256 | 0a7dfb9de0bcf5042aefb0a7f7564ae8e6b8f0e551c0cb4456759445f6079395 |