-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: rename project to llmpa (LLM Personal Assistant/Agent)
- Loading branch information
Showing
49 changed files
with
39 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
SERVER_NAME = LLM Search Server (develop) | ||
HOST = 0.0.0.0 | ||
PORT = 58030 | ||
DATABASE_URI = postgresql+asyncpg://postgres:postgres@localhost:55432/llmsearchdb | ||
DATABASE_URI = postgresql+asyncpg://postgres:postgres@localhost:55432/llmpadb | ||
PUBLIC_PATH = public | ||
UPLOADS_PATH = data/uploads | ||
LOG_LEVEL = DEBUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
services: | ||
llmsearch: | ||
container_name: llmsearch-llmsearch | ||
image: llmsearch:latest | ||
llmpa: | ||
container_name: llmpa-llmpa | ||
image: llmpa:latest | ||
ports: | ||
- "58000:58000" | ||
environment: | ||
- FLASK_APP=llmsearch | ||
- FLASK_APP=llmpa | ||
- FLASK_ENV=development | ||
- FLASK_RUN_HOST= | ||
|
||
postgres: | ||
container_name: llmsearch-postgres | ||
container_name: llmpa-postgres | ||
# image: postgres:17.0-bookworm | ||
image: postgres-pgvector:latest | ||
environment: | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_PASSWORD=postgres | ||
- POSTGRES_DB=llmsearchdb | ||
- POSTGRES_DB=llmpadb | ||
# networks: | ||
# - llmsearch | ||
# - llmpa | ||
volumes: | ||
- pgdata:/var/lib/postgresql/data | ||
ports: | ||
- 55432:5432 | ||
restart: always | ||
|
||
pgadmin: | ||
container_name: llmsearch-pgadmin | ||
container_name: llmpa-pgadmin | ||
image: dpage/pgadmin4:8.12 | ||
environment: | ||
- [email protected] | ||
- PGADMIN_DEFAULT_PASSWORD=123456 | ||
# networks: | ||
# - llmsearch | ||
# - llmpa | ||
volumes: | ||
- pgadmin-data:/var/lib/pgadmin | ||
ports: | ||
- 55050:80 | ||
restart: always | ||
|
||
elasticsearch: | ||
container_name: llmsearch-elasticsearch | ||
container_name: llmpa-elasticsearch | ||
image: docker.elastic.co/elasticsearch/elasticsearch:8.15.0 | ||
environment: | ||
- discovery.type=single-node | ||
|
@@ -52,12 +52,12 @@ services: | |
- "59200:9200" | ||
- "59300:9300" | ||
# networks: | ||
# - llmsearch | ||
# - llmpa | ||
volumes: | ||
- esdata:/usr/share/elasticsearch/data | ||
|
||
localai: | ||
container_name: llmsearch-localai | ||
container_name: llmpa-localai | ||
image: localai/localai:latest-aio-gpu-nvidia-cuda-12 | ||
ports: | ||
- "58080:8080" | ||
|
@@ -69,10 +69,10 @@ services: | |
devices: | ||
- capabilities: [gpu] | ||
# networks: | ||
# - llmsearch | ||
# - llmpa | ||
|
||
ollama: | ||
container_name: llmsearch-ollama | ||
container_name: llmpa-ollama | ||
image: ollama:latest | ||
ports: | ||
- "51400:51400" | ||
|
@@ -86,10 +86,10 @@ services: | |
devices: | ||
- capabilities: [gpu] | ||
# networks: | ||
# - llmsearch | ||
# - llmpa | ||
|
||
# opensearch-node1: | ||
# container_name: llmsearch-opensearch-node1 | ||
# container_name: llmpa-opensearch-node1 | ||
# image: opensearchproject/opensearch:2.5.0 # You can choose the version you need | ||
# environment: | ||
# - cluster.name=opensearch-cluster | ||
|
@@ -113,26 +113,26 @@ services: | |
# - "59200:9200" # OpenSearch REST API | ||
# - "59600:9600" # Performance Analyzer | ||
# # networks: | ||
# # - llmsearch | ||
# # - llmpa | ||
# healthcheck: | ||
# test: ["CMD", "curl", "-f", "http://localhost:9200"] | ||
# interval: 30s | ||
# timeout: 10s | ||
# retries: 5 | ||
|
||
# opensearch-dashboards: | ||
# container_name: llmsearch-opensearch-dashboards | ||
# container_name: llmpa-opensearch-dashboards | ||
# image: opensearchproject/opensearch-dashboards:2.5.0 | ||
# ports: | ||
# - "55601:5601" # OpenSearch Dashboards | ||
# environment: | ||
# OPENSEARCH_HOSTS: '["http://opensearch-node1:9200"]' | ||
# OPENSEARCH_SECURITY_ADMIN_PASSWORD: admin_password # Set the admin password here for dashboards | ||
# # networks: | ||
# # - llmsearch | ||
# # - llmpa | ||
|
||
# networks: | ||
# llmsearch: | ||
# llmpa: | ||
# driver: bridge | ||
|
||
volumes: | ||
|
@@ -141,6 +141,7 @@ volumes: | |
esdata: | ||
driver: local | ||
opensearch-data: | ||
local-ai-models: | ||
global-local-ai-models: | ||
external: true | ||
ollama-models: | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
docker compose -p llmsearch -f docker/docker-compose.yml up -d | ||
docker compose -p llmpa -f docker/docker-compose.yml up -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
ENVNAME=$1 | ||
|
||
env ENVIRONMENT=${ENVNAME} python3 src/app.py | ||
env ENVIRONMENT=${ENVNAME} python3 -m llmpa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "llmsearch-web", | ||
"name": "llmpa-web", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
|