diff --git a/.gitignore b/.gitignore index 6db8678..69147fc 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ notebooks/*.csv notebooks/*.txt entities_embeddings*.csv uv.lock + +src/sparql_llm/webapp diff --git a/README.md b/README.md index 498f5ba..381b750 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,15 @@ EXPASY_API_KEY=NOT_SO_SECRET_API_KEY_USED_BY_FRONTEND_TO_AVOID_SPAM_FROM_CRAWLER LOGS_API_KEY=SECRET_PASSWORD_TO_EASILY_ACCESS_LOGS_THROUGH_THE_API ``` +Build the chat webpage (will be better integrated in the workflow in the future): + +```bash +cd chat-with-context +npm i +npm run build +cd .. +``` + Start the web UI, API, and similarity search engine in production (you might need to make some changes to the `compose.yml` file to adapt it to your server/proxy setup): ```bash diff --git a/chat-with-context/demo/index.html b/chat-with-context/demo/index.html index 108b5fa..87280ce 100644 --- a/chat-with-context/demo/index.html +++ b/chat-with-context/demo/index.html @@ -3,109 +3,62 @@
-