Skip to content

Commit

Permalink
Improve data ingestion (#28)
Browse files Browse the repository at this point in the history
* Improve data ingestion

* Remove langfuse secrets
  • Loading branch information
david1542 committed Sep 17, 2024
1 parent 15e97af commit 09d470f
Show file tree
Hide file tree
Showing 24 changed files with 3,918 additions and 147 deletions.
7 changes: 3 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
"type": "node",
"request": "launch",
"name": "Slackbot: Debug",
"cwd": "${workspaceFolder}/services/slackbot",
"program": "${workspaceFolder}/node_modules/ts-node/dist/bin.js",
"args": ["${workspaceFolder}/services/slackbot/src/app.ts"],
"envFile": "${workspaceFolder}/services/slackbot/.env"
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/node_modules/.bin/nx",
"args": ["dev", "slackbot"]
},
{
"type": "node",
Expand Down
4 changes: 4 additions & 0 deletions TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ This error usually happens when the Slack keys (`SLACK_BOT_TOKEN`, `SLACK_APP_TO

If they are correct, try to restart the `slackbot` service by running `docker compose up slackbot -d`. Sometimes users update `.env` but do not restart the service itself, which causing it to take out-dated variables.

### `429: Too Many Requests`

This error might appear in LiteLLM's logs. It's a bit misleading, and most of the times it means you don't have enough credits left. Go to your LLM provider (OpenAI, Anthropic, etc.) and check your credits.

### Environment variabels are out-dated

If you use VSC Code, sometimes it loads environment variables from the `.env` file automatically. In most cases, it happens because of the python extension. In our `settings.json`, we set `"python.envFile": ""` which shoud prevent that. However, if that doesn't work, try to run the project from a separate terminal (not VS Code).
Loading

0 comments on commit 09d470f

Please sign in to comment.