sammo
sammo copied to clipboard
A library for prompt engineering and optimization (SAMMO = Structure-aware Multi-Objective Metaprompt Optimization)
ensure that the git tag and `version` string in pyproject.toml are consistent
Right now, only OpenAI API compatible models are supported. [Possible other LLMs](https://python.langchain.com/docs/integrations/llms/) Ideas: - Write wrapper around LangChain class - Tutorial to show how to implement custom Runner class.
Hi Team, We are currently using SAMMO to deploy our own LLMs, including vllm (running on OpenAI local host) and Azure GPT4. However, we’ve encountered two bugs that we are...
- **Bumping version from 0.2.4 to 0.2.4rc0** - **Added MultiStepRewrite mutator**
This issue proposes the addition of a `MultiStepRewrite` mutator, which allows a single content segment to be rewritten using multiple templated generation calls. This class can be used as a...
allow the user to pass the `azure_ad_token_provider` as in https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/managed-identity#chat-completions to AzureChat. The included jupyter notebook quickstart_azure.ipynb run the same example as quickstart.ipynb, however, it uses AzureChat with a azure_ad_token_provider