docker-compose.yml to setup both the discord and ollama image to run concurrently together
Dockerfile containing information to setup the discord image
OLLAMA_IP and OLLAMA_PORT as environment variables for docker
clean is a new node script
A custom ollama-js client to match the IP and PORT of the ollama container
Fixes
Updates have been made to some of the Node scripts like start and client
Updated ollama-js to current version
New type Tokens to save some repetitive lines of code found in utils/events.ts
This addresses only a bit of the issues with #7
Issues
messageNormal.ts has not been modified with many changes and may not work as intended, it is equipped with ollama-js so it should work. IMPORTANT: messageNormal.ts will be restricted to 2000 tokens versus 6000 tokens from messageEmbed.ts
Added
docker-compose.yml
to setup both thediscord
andollama
image to run concurrently togetherDockerfile
containing information to setup the discord imageOLLAMA_IP
andOLLAMA_PORT
as environment variables for dockerclean
is a new node scriptollama-js
client to match the IP and PORT of the ollama containerFixes
start
andclient
ollama-js
to current versionTokens
to save some repetitive lines of code found inutils/events.ts
Issues
messageNormal.ts
has not been modified with many changes and may not work as intended, it is equipped withollama-js
so it should work. IMPORTANT:messageNormal.ts
will be restricted to 2000 tokens versus 6000 tokens frommessageEmbed.ts