diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a1d255..7bb3e46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Release History ## 0.2.2 (2024-11-02) - `conv.prepend_system_message` now uses system role by default. +- General improvements. ## 0.2.1 (2024-11-01) diff --git a/README.md b/README.md index 58e3ad3..87f2627 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **Keep it simple, keep it human.** -Simplemind is AI library designed to simplify your experience with AI APIs in Python. Inspired by a "for humans" philosophy, it abstracts away complexity, giving developers an intuitive and human-friendly way to interact with powerful AI capabilities. +Simplemind is AI library designed to simplify your experience with AI APIs in Python. Inspired by a "for humans" philosophy, it abstracts away complexity, giving developers an intuitive and human-friendly way to interact with powerful AI capabilities. ![simplemind](https://github.com/user-attachments/assets/36df2103-2583-4958-ad5e-19cda7740256) @@ -156,20 +156,20 @@ Special thanks to [@jxnl](https://github.com/jxnl) for building [Instructor](htt SimpleMind also allows for easy conversational flows: ```pycon ->>> conversation = sm.create_conversation(llm_model="gpt-4o-mini", llm_provider="openai") +>>> conv = sm.create_conversation(llm_model="gpt-4o-mini", llm_provider="openai") >>> # Add a message to the conversation ->>> conversation.add_message("user", "Hi there, how are you?") +>>> conv.add_message("user", "Hi there, how are you?") ->>> conversation.send() +>>> conv.send() ``` -To continue the conversation, you can call `conversation.send()` again, which returns the next message in the conversation: +To continue the conversation, you can call `conv.send()` again, which returns the next message in the conversation: ```pycon ->>> conversation.add_message("user", "What is the meaning of life?") ->>> conversation.send() +>>> conv.add_message("user", "What is the meaning of life?") +>>> conv.send() ```