Closed FrancescoSaverioZuppichini closed 2 months ago
To install and use the tools in the llama-index-integrations
package from the llama_index
GitHub repository, follow these steps:
Clone the Repository:
git clone https://github.com/llama_index/llama_index.git
Navigate to the Integrations Directory:
cd llama_index/llama-index-integrations
Install the Required Packages:
pip install -r requirements.txt
Use the Tools: For example, to use the Google tool:
from llama_index.tools import google
# Example usage of a Google tool
result = google.search("LlamaIndex")
print(result)
For more detailed information, you can refer to the example script provided in the llama-index-integrations
directory, which demonstrates how to use the tools [1].
Additionally, the requirements.txt
file lists the dependencies needed for the integrations:
waii-sdk-py
google-api-python-client
google-auth-httplib2
google-auth-oauthlib
beautifulsoup4
gql
requests_toolbelt
``` <sup>[[2]](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-waii/requirements.txt)</sup><sup>[[3]](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-google/requirements.txt)</sup><sup>[[4]](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/readers/llama-index-readers-graphql/requirements.txt)</sup>.
For installation instructions and dependencies, you can also refer to the `pyproject.toml` file:
```toml
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
llama-index-core = "^0.10.48.post1"
llama-cloud = ">=0.0.11"
``` <sup>[[5]](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/indices/llama-index-indices-managed-llama-cloud/pyproject.toml)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Check out llamahub for every integration
For example: https://llamahub.ai/l/tools/llama-index-tools-openapi
Documentation Issue Description
Currently nothing is said about this package https://github.com/run-llama/llama_index/tree/main/llama-index-integrations would be nice to know how to install it and use the tools inside it
Thanks!
Documentation Link
https://docs.llamaindex.ai/en/stable/api_reference/tools/openapi/