Metadata-Version: 2.1
Name: judini
Version: 0.0.3
Summary: Judini python package
Home-page: https://github.com/JudiniLabs/judini-python.git
Author: Daniel Avila
Author-email: daniel@judini.ai
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Judini Python Package
This package provides you with an easy way to interact with the Judini API in your Python applications.

## Install
To install the package, simply run the following command:

```bash 
pip install judini 
```

## Usege
Below is a sample code demonstrating how to use the Judini package in your Python application:
``` python

# Import the package
from judini import Agent

def main():
    # Replace with your actual API key and URL ID
    api_key = "your_api_key_here"
    agent_id = "your_agent_id_here"

    # Initialize the Judini class
    agent_instance = Agent(api_key, agent_id)

    # Optional: update API key or URL ID if needed
    agent_instance.set_api_key("new_api_key")
    agent_instance.set_agent_id("new_agent_id")

    # Create the prompt
    prompt = "Who is the President of the United States?"

    # Make a POST request
    response = agent_instance.completion(prompt)

    # Handle the response as needed
    print(response)

if __name__ == "__main__":
    main()
```
