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

Commit

Permalink
Feature/remove redbaron rebased (#156)
Browse files Browse the repository at this point in the history
* experimental/symbol_search changes.

* Add ast utils.

* typecheck fixes.

* fix

* Fix

* Feature/remove py reader and writer (#152)

* 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

* finish cleanup

* remove double init

* further hacks to really make sure singletons dont bite us

---------

Co-authored-by: Bhavit Sharma <[email protected]>
  • Loading branch information
emrgnt-cmplxty and bhavitsharma authored Jul 8, 2023
1 parent 6ad73c7 commit ee324dc
Show file tree
Hide file tree
Showing 55 changed files with 656 additions and 2,588 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,6 @@ scripts/setup.sh
setup.sh
.direnv
docs/_build
.chroma
.chroma
##FIXME- The following should be removed by tests, but isn't
tests/test_output_vec
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
1 change: 0 additions & 1 deletion automata/cli/scripts/run_code_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def main(*args, **kwargs) -> str:
"""
Update the symbol code embedding based on the specified SCIP index file.
"""

py_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 ee324dc

Please sign in to comment.