Skip to main content

A library for creating a client for interacting with Askdata

Project description

Askdata python client

Askdata

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:

  1. Query an agent using natural language queries
  2. Create a dataset
  3. Connect an agent to a dataset

For more information, see Askdata's website.

Askdata Examples

Colab 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. Askdata Tutorial

Get in Touch

There are several ways to get in touch with us:

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

askdata-0.4.311.tar.gz (24.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page