-
Notifications
You must be signed in to change notification settings - Fork 1
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
Develop #20
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* chore: Added some fixes and documentation to py_function_parser. Added py parser tests. * fix: Fixing vuln scan action * feat: Added LLM tools, Added class inheritance for classes that need LLM handling. * feat: Added support for enums. Updated tests. Added links to inspiration projects * feat: First 'naive' iteration of openai function calling with openAPI specs * chore: version bump * feat: OpenAPI Parsing and calling is now implemented and working.
Signed-off-by: Trayan Azarov <tazarov@users.noreply.github.com>
Added an abstraction for OpenAI functions OpenAIFunctionWrapper. It is still in early dev.
Signed-off-by: Trayan Azarov <tazarov@users.noreply.github.com>
…r identifying operations from user prompts - this is helpful for reducing LLM costs.
…fault 1.0 (match everything) Refs: #13
Added docs workflow for building the docs Refs: #14
…o call LLM from response.
# Conflicts: # func_ai/function_indexer.py # poetry.lock # pyproject.toml
…y was not taken from env variable or constructor args.
# Conflicts: # poetry.lock # pyproject.toml
Signed-off-by: Trayan Azarov <tazarov@users.noreply.github.com>
- Added support for any chroma client (http, persistent etc) - It is now possible to pass embedding function to use with the collection in chroma (Note: this may not be ideal if somehow different embeddings are used in different runs) - Function Indexer now supports default LLM interface used for function wrappers - All indexed functions are now loaded at Function Indexer instantiation - Function searching now returns named tuple SearchResult (['name', 'wrapper', 'function', 'distance']) - Improved the way a function is called from the wrapper to also accept *args in addition to **kwargs - Each wrapped function now gets an identifier (e.g. `tests.test_findex.TestClass.test_class_method`) to be able to find reference to the function at Function Indexer startup. We also add a hash wich is the SHA-1 of the identifier - Nested functions are not supported in the wrapper. - It is not possible to rehydrate partial functions that have been indexed. Instead at app startup such function should be re-added to the index (not to worry the indexer will check the hashes and will not attempt to add an existing function) - Updated docs for function indexing. BREAKING-CHANGE: The `FunctionIndexer` init and other method signatures have changed and are not backward compatible. Refs: #17
Signed-off-by: Trayan Azarov <tazarov@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.