Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Feature/remove py reader and writer (#152)
Browse files Browse the repository at this point in the history
* Feature/merged default chroma (#150)

* Change default db to chroma, remove old db setup

* fix test error

* steps towards working code embedding

* Adding embedding dbs for now

* refresh code embeddings

* update code embedding db

* update embedding db

* finalize db update

* Removing pyreader and pywriter

* progress port, update bounding box (#153)

* progress port, update bounding box

* Feature/remove reference py loader (#154)

* remove reference to py module loader

* Remove all redbaron refs (#155)

* Remove all redbaron refs

* update nbs, indices, etc

* remove extra print

* modify req version

* fix sorting, update readme
  • Loading branch information
emrgnt-cmplxty committed Jul 8, 2023
1 parent bdb5367 commit 525d732
Show file tree
Hide file tree
Showing 48 changed files with 528 additions and 2,607 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
<img src="https://img.shields.io/static/v1?label=license&message=Apache 2.0&color=white" alt="License">
</a> |
[![Documentation Status](https://readthedocs.org/projects/automata/badge/?version=latest)](https://automata.readthedocs.io/en/latest/?badge=latest)
[![GitHub star chart](https://img.shields.io/github/stars/emrgnt-cmplxty/Automata?style=social)](https://star-history.com/#emrgnt-cmplxty/Automata)
[![Discord](https://img.shields.io/discord/1120774652915105934?logo=discord)](https://discord.gg/j9GxfbxqAe)
[![Twitter Follow](https://img.shields.io/twitter/follow/ocolegro?style=social)](https://twitter.com/ocolegro)


[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/emrgnt-cmplxty/Automata)

**Automata's objective is to evolve into a fully autonomous, self-programming Artificial Intelligence system**.

This project is inspired by the theory that code is essentially a form of memory, and when furnished with the right tools, AI can evolve real-time capabilities which can potentially lead to the creation of AGI. The word automata comes from the Greek word αὐτόματος, denoting "self-acting, self-willed, self-moving,", and [Automata theory](https://en.wikipedia.org/wiki/Automata_theory) is the study of abstract machines and [automata](https://en.wikipedia.org/wiki/Automaton), as well as the computational problems that can be solved using them. More information follows below.
Expand Down Expand Up @@ -203,4 +207,4 @@ Automata is licensed under the Apache License 2.0.

## Other

This project is an extension of an initial effort between [emrgnt-cmplxty](https://github.com/emrgnt-cmplxty) and [maks-ivanov](https://github.com/maks-ivanov) that began with this [repository](https://github.com/maks-ivanov/automata).
This project is an extension of an initial effort between [emrgnt-cmplxty](https://github.com/emrgnt-cmplxty) and [maks-ivanov](https://github.com/maks-ivanov) that began with this [repository](https://github.com/maks-ivanov/automata).
2 changes: 0 additions & 2 deletions automata/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ class AgentToolkitNames(Enum):
The associated builders are located in automata/core/agent/builder/*
"""

PY_READER = "py-reader"
PY_WRITER = "py-writer"
SYMBOL_SEARCH = "symbol-search"
CONTEXT_ORACLE = "context-oracle"

Expand Down
2 changes: 1 addition & 1 deletion automata/cli/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def agent_options(command: click.Command, *args, **kwargs) -> click.Command:
),
click.option(
"--toolkit-list",
default="py-reader,context-oracle",
default="context-oracle",
help="Which LLM tools to use?",
),
click.option(
Expand Down
3 changes: 1 addition & 2 deletions automata/cli/scripts/run_doc_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from automata.memory_store.symbol_code_embedding import SymbolCodeEmbeddingHandler
from automata.memory_store.symbol_doc_embedding import SymbolDocEmbeddingHandler
from automata.singletons.dependency_factory import dependency_factory
from automata.singletons.py_module_loader import py_module_loader, pyast_module_loader
from automata.singletons.py_module_loader import py_module_loader
from automata.symbol.graph import SymbolGraph
from automata.symbol.symbol_utils import get_rankable_symbols

Expand All @@ -18,7 +18,6 @@

def initialize_providers(embedding_level, **kwargs):
py_module_loader.initialize()
pyast_module_loader.initialize()

embedding_provider = OpenAIEmbeddingProvider()

Expand Down
Empty file removed automata/code_handling/__init__.py
Empty file.
202 changes: 0 additions & 202 deletions automata/code_handling/py/reader.py

This file was deleted.

Loading

0 comments on commit 525d732

Please sign in to comment.