A library for creating a client for interacting with Askdata
Project description
Askdata python client
Askdata python client is a friendly Python library that helps developers, data scientists and engineers build and manage agent using Askdata platform.
There are three main use cases for this library:
- Query an agent using natural language queries
- Create a dataset
- Connect an agent to a dataset
For more information, see Askdata's website.
Askdata Examples
This repository contains examples of Askdata usage in serving different types of data.
Installation
pip install askdata
or
pip install -r requirements.txt
Authentication
Lets handle our authenticaton
from askdata.askdata_client import Askdata, Agent
askdata = Askdata()
Once your insert your account and password you're all set
Query your data
# Load the list of the agents connected to your account as a pandas dataframe
get_agents_df = askdata.agents_dataframe()
#get one agent
agent = Agent(askdata, 'Sales Demo')
# Simple query
df = agent.ask('give me sales by countries')
df
Create a new Askbase and Create a dataset
# Load the list of the agents connected to your account as a pandas dataframe
my_second_agent.save_to_dataset(frame=df, dataset_name='Web Sources')
Askdata Demo
Check the following tutorial, to learn more about Askdata end-to-end.
Get in Touch
There are several ways to get in touch with us:
- Contact us
- Email us at: datascience@askdata.com
- Email us at: info@askdata.com
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.