Skip to content

visepoint/visepoint-py

Repository files navigation



visepoint is a Python package designed to provide a simple interface to interact with the visepoint API 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/activate

Install 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-in generate_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 visepoint API. Here's an example of how to use the completion_create function to prompt one of our text completion models.


Synchronous method

import visepoint

data = visepoint.Models.completion_create("visepoint", "your_api_token_here", "your_query_here")

Asynchronous method

import visepoint

data = await visepoint.Models.completion_create_async("visepoint", "your_api_token_here", "your_query_here")



: License :



visepoint is distributed under the GNU General Public License v3.0 License. See the LICENSE file for more information.

About

This is the Python package for interacting with the visepoint API!

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages