Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ services:
- POSTGRES_DB=quarkus
volumes:
- ./postgres-data:/var/lib/postgresql/data

ollama:
image: ollama/ollama:latest
container_name: ollama
ports:
- "11434:11434"
2 changes: 1 addition & 1 deletion timeless-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
</dependency>
<dependency>
<groupId>io.quarkiverse.langchain4j</groupId>
<artifactId>quarkus-langchain4j-openai</artifactId>
<artifactId>quarkus-langchain4j-ollama</artifactId>
<version>${quarkus-langchain4j-openai.version}</version>
</dependency>
<dependency>
Expand Down
8 changes: 6 additions & 2 deletions timeless-api/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ security.sensible.secret=${SECURITY_KEY}
whatsapp.incoming-message.queue-url=${INCOMING_MESSAGE_FIFO_URL}
whatsapp.recognized-message.queue-url=${RECOGNIZED_MESSAGE_FIFO_URL}

%local.quarkus.http.auth.proactive=false

# aws sqs
quarkus.sqs.devservices.enabled=false

Expand All @@ -19,8 +21,10 @@ quarkus.hibernate-orm.schema-management.strategy=update
%dev.quarkus.hibernate-orm.dev-ui.allow-hql=true

# ai
quarkus.langchain4j.openai.api-key=${OPENAI_API_KEY}
quarkus.langchain4j.openai.gpt-4-turbo.api-key=${OPENAI_API_KEY}
#quarkus.langchain4j.openai.api-key=${OPENAI_API_KEY}
#quarkus.langchain4j.openai.gpt-4-turbo.api-key=${OPENAI_API_KEY}
quarkus.langchain4j.ollama.base-url=http://localhost:11434/
quarkus.langchain4j.ollama.chat-model.model-id=llama3.2-vision:11b

# quinoa (frontend)
quarkus.quinoa.enable-spa-routing=true
Expand Down
2 changes: 1 addition & 1 deletion whatsapp/.env.local
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ AWS_SECRET_ACCESS_KEY=test
AWS_REGION=us-east-1
ASSETS_BUCKET=timeless-local-assets
INCOMING_MESSAGE_FIFO_URL=http://localhost:4566/000000000000/incoming-messages.fifo
RECOGNIZED_MESSAGES_FIFO_URL=http://localhost:4566/000000000000/messages-processed.fifo
RECOGNIZED_MESSAGE_FIFO_URL=http://localhost:4566/000000000000/messages-processed.fifo
ALLOWED_PHONE_NUMBERS=
OPENAI_API_KEY=
128 changes: 80 additions & 48 deletions whatsapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.