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

deliver a better devX #51

Open
11 of 29 tasks
charlesfrye opened this issue Jun 9, 2023 · 0 comments
Open
11 of 29 tasks

deliver a better devX #51

charlesfrye opened this issue Jun 9, 2023 · 0 comments
Assignees
Labels

Comments

@charlesfrye
Copy link
Collaborator

charlesfrye commented Jun 9, 2023

the developer experience is just OK. let's make it awesome.

note: some of these are more suggestion than requirement

Everywhere

  • add some minimal tests
  • formalize into a devcontainer so we can run on codespaces
    • configure linting better
    • improve Python environment setup -- pyenv virtualenv seems to be on the out, see VS Code docs
  • modularize the Makefile into reusable scripts
  • modularize the env? as it gets more complicated, will become necessary

Backend

Modal

MongoDB

FastAPI

  • Make sure we have a good Swagger UI
    • linking docs across multiple "apps", e.g. the / mount and the /gradio mount
  • Look into QoL tools for FastAPI -- Postman? OpenAPI tooling?
  • Review other best practices for FastAPI design, focused on DevX
  • Improve the Gradio interface

LLM and Vector Index

Testing

Evaluation

  • Try out AutoEvaluator
  • Make at least one simple LLM evaluation test, e.g. "No relevant sources found" or questions about capabilities
  • Automate ingress of emoji feedback, automate ingestion of emoji feedback #47

Tooling

Frontend

  • Testing of Discord bot -- health check, maybe a query
  • make the /health a "hidden command" so we can use it in prod
    - look into interactions library for Discord to see if it's cleaner, especially for streaming responses
  • run the Discord bot in Modal #49
@charlesfrye charlesfrye added the dev label Jun 9, 2023
@charlesfrye charlesfrye self-assigned this Jun 9, 2023
charlesfrye added a commit that referenced this issue Jun 10, 2023
* better dev experience for backend, simpler debug command

* separates dev and prod secrets

* rolls back previous commit a bit, refactors makefile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant