visepointis a Python package designed to provide a simple interface to interact with thevisepointAPI and prompt models. It can be used to build applications that require AI-based text completion, code completion, and other natural language processing tasks.
: Installation :
Optional:Install virtualenv:
[~$] - pip install virtualenv
Optional:Set virtual environment:
[~$] - virtualenv venv && source venv/bin/activateInstall visepoint via pip:
[~$] - pip install visepoint: Usage :
To get started with
visepoint, you will need to obtain an API token from the visepoint checkout creator or create a checkout session using the built-ingenerate_checkout()function provided.
import visepoint
new_user = visepoint.UserCreate.generate_checkout()
print(new_user)
NOTE: Upon completing checkout, you will be registered with visepoint and an email will be sent to you containing your api credentials.
Once you have your API key, you can start using the package to interface with the
visepointAPI. Here's an example of how to use thecompletion_createfunction to prompt one of our text completion models.
import visepoint
data = visepoint.Models.completion_create("visepoint", "your_api_token_here", "your_query_here")import visepoint
data = await visepoint.Models.completion_create_async("visepoint", "your_api_token_here", "your_query_here"): License :
visepointis distributed under theGNU General Public License v3.0License. See theLICENSEfile for more information.
