Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Cleanup a few things to make README better #47

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

kerinin
Copy link
Contributor

@kerinin kerinin commented Jan 31, 2024

No description provided.

CMD ["uvicorn", "dewy.main:app", "--host", "0.0.0.0", "--port", "8000"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Making this consistently 8000 everywhere, we can switch to a less-common port separately


1. Configure Dewy.
Dewy will read env vars from an `.env` file if provided. You can also set these directly
in the environment, for example when configuring an instance running in docker / kubernetes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the .env config method, since this is running locally. Side note - do we want to make this something like ~/.dewyrc so the path isn't dependent on where you run the script?

@@ -290,7 +290,7 @@ def encode_chunk(c: str) -> str:
WHERE id = $1
""",
document_id,
extracted.text,
encode_chunk(extracted.text),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This caused a failure, since we're capturing the extracted doc content now.

@kerinin kerinin changed the title Cleanup a few things to make README better fix: Cleanup a few things to make README better Jan 31, 2024
@kerinin kerinin merged commit 4b2ed99 into main Jan 31, 2024
4 of 5 checks passed
@bjchambers bjchambers added the bug Something isn't working label Jan 31, 2024
@bjchambers bjchambers deleted the rm/cleanup branch February 2, 2024 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants