Skip to main content

AI helper functions for a Flask web assistant using Groq.

Project description

merlin_ai_helper

A small helper library for AI-powered web assistants using Groq's Llama 3.1 model.

Installation (local)

In the project root:

pip install -e merlin_ai_helper

from merlin_ai_helper import get_response, summarize_text, format_response

reply = get_response("Explain cloud computing in simple words.")
print(reply)

summary = summarize_text("Very long text here...")
print(summary)

formatted = format_response(reply, width=60)
print(formatted)


---

### 1.5. `pyproject.toml` – make it an installable package

**File:** `merlin_ai_helper/pyproject.toml`

```toml
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "merlin-ai-helper"  # local package name
version = "0.1.0"
description = "AI helper functions for a Flask web assistant using Groq."
readme = "README.md"
requires-python = ">=3.8"
authors = [
  { name = "Merlin", email = "your-email@example.com" },
]
dependencies = [
  "groq>=0.9.0",
]

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

merlin_ai_web_assistant-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

merlin_ai_web_assistant-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file merlin_ai_web_assistant-0.1.0.tar.gz.

File metadata

  • Download URL: merlin_ai_web_assistant-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for merlin_ai_web_assistant-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e52b104471e52b85aa33d50d129307e8a04074d8f8618f04ca8e4996a93f2012
MD5 be539dcf82e6b8ee6e09223c724bd858
BLAKE2b-256 d20838f5ef2bfc2f20d17bcf449342e54b245e138dac1d0cce7363b25678a3e0

See more details on using hashes here.

File details

Details for the file merlin_ai_web_assistant-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for merlin_ai_web_assistant-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c802fa0a0909925cbc52d07cc6135815b29b195428f02112f76014a15ae534a
MD5 1f7cf74ea033795fbc564f48e8b7e3b7
BLAKE2b-256 0ca2ca23f9e010b0c68c0125e86ad57ee3754abf46ca51f565f4b5bd9032bcb9

See more details on using hashes here.

Supported by

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