Skip to main content

No project description provided

Project description

Ziya

Documentation

See the GitHub Repository

Overview

Ziya is a code assist tool for AWS Bedrock models. It can read your entire codebase and answer questions.

The current version only performs read operations. However, future versions will be able to:

  1. Write and edit code.
  2. Search the web for resources.
  3. Run commands locally.
  4. Iteratively continue to do 1,2,3 for a given objective.

Pre-requisites

Setup AWS credentials:

The easiest way is to set the env variables with access to AWS Bedrock claude models.

export AWS_ACCESS_KEY_ID=<YOUR-KEY>
export AWS_SECRET_ACCESS_KEY=<YOUR-SECRET>

Installation

pip install ziya

Run Ziya

ziya

Then navigate to http://localhost:6969 in your browser and start chatting with your codebase.

When you ask a question Ziya sends your entire codebase as context to the LLM, along with your question and any chat history.

> Entering new AgentExecutor chain...
Reading user's current codebase: /Users/vkrishnaprasad/personal_projects/ziya
ziya
    ├── .gitignore
    ├── DEVELOPMENT.md
    ├── LICENSE
    ├── README.md
    └── pyproject.toml
    app
        ├── __init__.py
        ├── main.py
        └── server.py
...

Options

--exclude: Comma-separated list of files or directories or file suffix patterns to exclude from the codebase. Eg: "--exclude 'tst,build,*.py'"

--profile: AWS profile to use for the Bedrock LLM.

--model: The AWS Bedrock Model to use, one of haiku(default), sonnet or opus.

--port: The port number for frontend app. Default is 6969.

ziya --include='app,src/mappers' --exclude='tst,build,*.py' --profile=ziya --model=sonnet --port=8080

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ziya-0.1.12.tar.gz (899.7 kB view hashes)

Uploaded Source

Built Distribution

ziya-0.1.12-py3-none-any.whl (906.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page