Skip to content

Commit

Permalink
Improved README. (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
srtab authored Jan 24, 2025
1 parent b91b90a commit 9e71bd0
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Changed

- Improved `README.md` to include more information about the project and how to run it locally.

### Fixed

- Filled placeholder on the `LICENSE` file with correct copyright information.

## [0.1.0-alpha.21] - 2025-01-24

### Added
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2025 Sandro Rodrigues

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DAIV: Development AI Assistant

DAIV is an open-source automation assistant designed to enhance developer productivity. It integrates seamlessly with GitLab repositories and uses AI agents, semantic code search, and configurable actions to automate common software development tasks such as:
DAIV is an open-source automation assistant designed to enhance developer productivity. It integrates seamlessly with **GitLab** repositories and uses AI agents, semantic code search, and configurable actions to automate common software development tasks such as:

- **Issue Addressing**: Suggesting and implementing solutions directly from issue descriptions.
- **Code Review Assistance**: Automatically responding to reviewer comments, adjusting code, and improving pull requests.
Expand All @@ -9,7 +9,7 @@ DAIV is an open-source automation assistant designed to enhance developer produc

DAIV leverages Django for its core framework, Celery for asynchronous tasks, LangChain and related models for AI-driven logic, PGVector and Tantivy for code search indexing, and GitLab’s API/webhooks for continuous integration with your source code workflow.

> **Note:** DAIV is currently in an **alpha** stage. It is **not recommended for production use** at this time. Features are under active development and may change without warning.
> [!WARNING] > **Note:** DAIV is currently in an **alpha** stage. It is **not recommended for production use** at this time. Features are under active development and may change without warning.
## Key Features

Expand All @@ -19,7 +19,7 @@ DAIV leverages Django for its core framework, Celery for asynchronous tasks, Lan

- **Pipeline Fixing**: Identifies failing pipeline jobs, analyzes logs, and attempts auto-remediations (e.g., lint fixes, dependency updates) to get the CI/CD pipeline back to green.

- **Semantic Code Search**: Combines vector embeddings (via PGVector) and lexical search (via Tantivy) to quickly find relevant code snippets within your repository, improving developer efficiency.
- **Semantic Code Search**: Combines vector embeddings (via PGVector) and lexical search (via Tantivy) to quickly find relevant code snippets within your repository, improving developer efficiency. An OpenAI compatible API is available for easy integration with tools such as [OpenWebUI](https://github.com/OpenWebUI/OpenWebUI).

- **Configurable Behavior**: A `.daiv.yml` file in your repo’s default branch lets you tailor DAIV’s features (like toggling auto-issue addressing or pipeline autofix).

Expand Down Expand Up @@ -63,15 +63,20 @@ DAIV leverages Django for its core framework, Celery for asynchronous tasks, Lan
uv sync
```

This will install the project dependencies into a virtual environment. Useful for running tests and linting outside of Docker.
This will install the project dependencies into a virtual environment. Useful for running linting outside of Docker or autocompletion on VSCode.

4. **Start the Server**:

```bash
docker-compose up --build
```

This will start the web app, workers, Redis, PostgreSQL, and GitLab services locally.
This will start the all needed services locally, you can access some of them at:

- Web app (https://localhost:8000/api/docs/)
- PGAdmin (http://localhost:8080)
- GitLab (http://localhost:8929)
- Sandbox (http://localhost:8888/docs)

## Running Tests

Expand Down
2 changes: 1 addition & 1 deletion daiv/daiv/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from . import __version__

api = NinjaAPI(version=__version__, title="Daiv API")
api = NinjaAPI(version=__version__, title="Daiv API", docs_url="/docs/")
api.add_router("/codebase", codebase_router)
api.add_router("/chat", chat_router)
api.add_router("/models", models_router)

0 comments on commit 9e71bd0

Please sign in to comment.