Skip to content
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

[WIP] v2 #1005

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

[WIP] v2 #1005

wants to merge 10 commits into from

Conversation

Undertone0809
Copy link
Owner

No description provided.

- Add information about the built-in log system
- Include log storage path for macOS

This update provides clearer documentation on where and how logs are stored, including the addition of the macOS path.
- Remove dependency on BaseLLM class
- Update description to clarify input requirements
- Simplify initialization method
- Modify _run method to directly evaluate expressions

This refactor simplifies the Calculator class by removing unnecessary dependencies and clarifying its purpose. It now directly evaluates mathematical expressions without relying on an LLM for input processing.
Copy link

vercel bot commented Oct 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
promptulate ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 27, 2024 5:41am

- Remove caching logic from Config class
- Simplify OpenAI API key retrieval to only use environment variables
- Update ErnieBot API wrapper to use listdict_messages directly
- Remove retry logic and caching from API key retrieval methods

This refactor improves code readability and maintainability by removing unnecessary caching and retry mechanisms, simplifying the API key retrieval process, and updating the ErnieBot API wrapper to use a more straightforward approach.
- Removed logging of model configuration to avoid redundancy.

chore: remove OpenAI key management module

- Deleted the `openai_key_pool.py` file and related imports.
- Removed associated test cases and references.

This change simplifies the codebase by eliminating unused functionality.

chore: update contact email in core utilities

- Changed contact email from `[email protected]` to `[email protected]`.

chore: reorganize imports in utility module

- Removed unused imports from `__init__.py`.
- Ensured only necessary modules are exposed in the `__all__` list.

This change improves code readability and maintainability.
Repository owner deleted a comment from coderabbitai bot Oct 23, 2024
- Change domain from 'www.promptulate.cn' to 'promptulate.cn'

This change updates the custom domain configuration to reflect the new domain name. It ensures that the project is accessible via the correct domain without the 'www' prefix.
- Add 'Version' dropdown to navigation bar
- Update home page title to 'Promptulate v2'

This commit updates the documentation to reflect the changes for the v2 release, including adding version-specific links in the navigation bar and updating the home page title.
- Delete conversation logic and prompt templates
- Remove schema definitions for conversation framework
- Deprecate Conversation class in favor of new approach

This refactor removes the existing conversation framework to streamline the codebase and prepare for integration with a new system or approach. The changes include deleting the main conversation logic, prompt templates, and schema definitions, and marking the Conversation class as deprecated.
- Change output_schema type in chat.py to Type[BaseModel]
- Update parse_content return type in _litellm.py to Tuple[str, dict]

These changes improve type safety and align with best practices for type annotations in Python.
- Move MESSAGE_TYPE dictionary to MessageSet class
- Remove unused init_chat_message_history function

This refactor improves code organization by centralizing message type mappings within the MessageSet class and removes dead code, enhancing maintainability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant