ai_chat

Version, currently main branch1 version
  • main branchlatestJul 2, 2023

github.com/a-alhusaini/amber_ai_chat

No description declared in shard.yml.

0 stars
0 dependents
License: UNLICENSED

Installation

# Add this to your shard.yml
dependencies:
  ai_chat:
    github: a-alhusaini/amber_ai_chat
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.8.1
License
UNLICENSED
Author
Abdullah Alhusaini
Targets
  • amber from lib/amber/src/amber/cli.cr
  • ai_chat from src/ai_chat.cr

Dependencies

Runtime Dependencies

  • pg~> 0.23.2github: will/crystal-pg
  • amber1.3.2github: amberframework/amber
  • granite~> 0.23.1github: amberframework/granite
  • citrine-i18n~> 1.0.0github: dare892/citrine-i18n
  • quartz_mailer~> 0.8.0github: amberframework/quartz-mailer
  • jasper_helpers~> 1.2.2github: amberframework/jasper-helpers

Development Dependencies

  • ameba~> 0.13.4github: crystal-ameba/amebadev
  • garnet_spec0.4.1github: amberframework/garnet-specdev

README

ai_chat

This demo amber project shows how you would connect to an external api using Amber. We connect to the Cohere API and prompt one of their models with a question and we get a response back.

Setup

git clone (link to repo)
cd ai_chat
COHERE_API_KEY={your cohere api key} amber w

This will run the app on localhost:3000