Skip to main content

A toolkit for working and conversing with large language models. Featuring tokenized sentence queueing for TTS.

Project description

🌼 Daisy LLM Tools 🌼

Daisy is a Python platform designed to work with language model APIs such as OpenAI's GPT-3 and GPT-4. It includes a suite of classes and methods that can be used to converse with, extend capabilities, and augment the reasoning capacities of large language models.

🏁 Getting Started

Install package

pip install daisy_llm

Import into your project and use. See main-example.py

Create config.py in your project with necessary information and enable desired modules to be loaded. See Daisy-openai-chat for sample project and a collection of modules to get started

🧰 Capabilities

Daisy accepts different types of user-developed "modules". A voice assistant module comes with Daisy-openai-chat as a "proof-of-concept". Possible configurations and apps built using Daisy could include:

  • Web apps
  • Conversational processing APIs
  • Computer vision interpretation
  • Autonomous initiation (with time awareness, Daisy could send a message or tool-form without user input)
  • Customer service IVR (which could be powerful with API tool-forms on the back-end).
  • Possibilities are endless, you only need to create what you want to see in the world. This platform makes that easier.

Keep in mind: Daisy is still in development. It has, and will, evolve significantly in the coming months as contributors enhance functinality by improving platform code, ading module hooks, and developing their own modules.

🛎️ Services

Daisy uses the following APIs for conversation processing:

  • Language model: OpenAI chatGPT
  • Speech-to-text (STT): AssemblyAI
  • Text-To-Speech(TTS): ElevenLabs (Quality), Google Cloud TTS (Cheap), Google Translate TTS (Free!) (Modules in Daisy-openai-chat. Uses pyttsx3 by default)
  • Wake word (Local): Picovice Porcupine
  • Alternative local APIs are available and should be easily interchangeable if you choose to use them. In some cases, they can be switched out as modules. In every other case, a code hook can be added to make it interchangeable.

🌇 Background

I have been eager to have a conversation with chatGPT using my voice. I used to search daily for a program that could exchange between speech recognition and TTS for a real human-like conversation, but it was not until recently that I discovered one.

So of course I began making what I wanted in the world. I started working on a voice recognition script for chatGPT. It began with simple requests, such as incorporating a request to openAI API and routing the speech recognition output. Since then the project evolved into a platform for building applications, opening the door for infinite potential.

Some people argue that text models and AI are not thinking, but just using heuristics. However, when we examine ourselves, we too are simply a collection of learned behavior and responses. Although GPT may not be perfect, it is important to reflect on ourselves and determine how much better we truly are.

🤝 Compatibility

This software is designed to run on Windows and Linux.

✅ To-Do

  • LLMs (API or local) as modules

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

daisy_llm-0.0.5.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

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

daisy_llm-0.0.5-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file daisy_llm-0.0.5.tar.gz.

File metadata

  • Download URL: daisy_llm-0.0.5.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for daisy_llm-0.0.5.tar.gz
Algorithm Hash digest
SHA256 254c4a369fd3b6d6a58044c68d8e66f7cdcdd56ba8b0891960942efd97f847a4
MD5 c8ca24adca227e23ce221c2557fa83b2
BLAKE2b-256 6a185dd139a5c48e6030d016adbd3ec40f98e5f6104fdbf2deb3e2ea8211979f

See more details on using hashes here.

File details

Details for the file daisy_llm-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: daisy_llm-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for daisy_llm-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cf73eda4ab53150c98697d4e70834d65116a05cd96436ab8fb7166cc93cb2c00
MD5 46d8f10741c3464b3a0c78198f497a35
BLAKE2b-256 8ce849588567bd6ee396110d5365b42523bc10eeaf30a9b4e72788b6ac4ae733

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