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

fix readme #109

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
<a href="https://pypi.org/project/composio-core/">
<img alt="PyPI" src="https://img.shields.io/pypi/v/composio_core?label=Latest&style=plastic&logo=pypi&color=blue&cacheSeconds=60&logoColor=white">
</a>
<a href="https://github.com/composiodev/composio/blob/main/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/composiodev/composio?label=License&style=plastic&logo=github&color=blue&cacheSeconds=60">
</a>
<a href="https://pypi.org/project/composio-core/">
<img alt="Downloads" src="https://img.shields.io/pypi/dm/composio-core?label=Downloads&style=plastic&logo=github&color=blue&cacheSeconds=60">
</a>
Expand Down Expand Up @@ -109,7 +106,7 @@ from openai import OpenAI
from composio_openai import ComposioToolSet, App, Action

openai_client = OpenAI(
api_key="**\*\***OPENAIKEY**\*\***"
api_key="{{OPENAIKEY}}"
)

# Initialise the Composio Tool Set
Expand All @@ -130,7 +127,7 @@ assistant = openai_client.beta.assistants.create(
name="Personal Assistant",
instructions=assistant_instruction,
model="gpt-4-turbo",
tools=actions, # type: ignore
tools=actions,
)

# create a thread
Expand All @@ -150,7 +147,7 @@ run = openai_client.beta.threads.runs.create(


# Execute Function calls
response_after_tool_calls = composio_toolset.wait_and_handle_assistant_tool_calls(
response_after_tool_calls = composio_tool_set.wait_and_handle_assistant_tool_calls(
client=openai_client,
run=run,
thread=thread,
Expand Down Expand Up @@ -202,7 +199,7 @@ Also go through our [Contribution Guidelines](https://github.com/composiodev/com

## 🛡️ License

Composio is licensed under the MIT License - see the [LICENSE](https://github.com/composiodev/composio/blob/master/LICENSE) file for details.
Composio is licensed under the Elastic License - see the [LICENSE](https://github.com/composiodev/composio/blob/master/LICENSE) file for details.

## 💪 Thanks To All Contributors

Expand Down
Loading