Skip to main content

Next-gen AI agents with 100+ functionalities

Project description

Cerina Package

Overview

Cerina is a package that provides functionalities for different llm completions, Advanced AI Agents and Agentic search at free of cost. Explore more below and give a star.

Installation

To install the package, run:

pip install -U cerina

Basic Chat Integration

Use our llm's into your applications at free of cost

from cerina import Completion

completion = Completion()
prompt = "What are the benefits of using AI in education?"
response = await completion.create(prompt)
print("Response from API:", response)

Integrate Search Functions with GPT

import asyncio
from cerina import IntegratedSearchGPT

async def main():
    integrated_search_gpt = IntegratedSearchGPT()
    query = "what is the dollar price now in inr?"
    response = await integrated_search_gpt.generate_with_search(query)
    print("Response from API:", response)

if __name__ == "__main__":
    asyncio.run(main())

Search Text

from cerina import print_search_results, search_text, search_images

def main():
    query_text = "Hetc"

    print("Text Search Results:")
    print_search_results(query_text, search_text)

if __name__ == "__main__":
    main()

Search Image

from cerina import print_search_results, search_text, search_images

def main():
    query_image = "cats"


    print("Image Search Results:")
    print_search_results(query_image, search_images)

if __name__ == "__main__":
    main()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cerina-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

cerina-0.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file cerina-0.0.1.tar.gz.

File metadata

  • Download URL: cerina-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for cerina-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ace9d8bdbfe38eb5290f9a05d53d0b40f9fcc14d63779758eecdecb1fc9d74c5
MD5 6db4d1fbd7d8df1068e03c3dc4159d4a
BLAKE2b-256 8e58fe43ca5303cc3ed5105541c5192ce277ea488c239eb79477d01ea1d5320a

See more details on using hashes here.

File details

Details for the file cerina-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: cerina-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for cerina-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a87162c0a630a1d14017a92bfb24f10159055badc9113abadf4343c43d22b0fd
MD5 360eee0760c5cef4b279766c019f3ab5
BLAKE2b-256 91afef158becb6bfe68481d7c87196646c1e414000c202ad7d75a3b553e10283

See more details on using hashes here.

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