diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index bc729792e..cc37cf355 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -22,6 +22,9 @@ permissions: jobs: release: runs-on: ubuntu-latest + permissions: + # For PyPI's trusted publishing. + id-token: write steps: - uses: actions/checkout@v3 diff --git a/docs/pages/index.mdx b/docs/pages/index.mdx index 8be16a537..d7ac669ec 100644 --- a/docs/pages/index.mdx +++ b/docs/pages/index.mdx @@ -19,7 +19,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from "../components/ui/tabs" Train, deploy, and evaluate Social AI agents -with Sotopia +with Sotopia ## Features @@ -70,6 +70,11 @@ with Sotopia +## Why Sotopia? +Sotopia aims at pushing the boundary of artificial social intelligence through simulating realistic social interaction, supporting human-AI interaction, and evaluating the performance of social agents in a unified way. + +**Unlike** other multi-agent frameworks ([CrewAI](https://www.crewai.com/), [CAMEL-AI](https://www.camel-ai.org/), [AutoGen](https://microsoft.github.io/autogen/dev/index.html), and [swarm](https://github.com/openai/swarm)), Sotopia provides a wide range of social tasks and characters with different backgrounds and personalities, and creates a asynchronous and information-imperfect social interaction environment. + ## Installation This package supports Python 3.10 and above. There are two ways to setup the package: diff --git a/pyproject.toml b/pyproject.toml index c08249c4d..11ec0512c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sotopia" -version = "0.1.0-rc.5" +version = "0.1.1" description = "A platform for simulating and evaluating social interaction." authors = [ { name = "Hao Zhu", email = "prokilchu@gmail.com" }, diff --git a/sotopia/generation_utils/generate.py b/sotopia/generation_utils/generate.py index c85c72947..847eafd5d 100644 --- a/sotopia/generation_utils/generate.py +++ b/sotopia/generation_utils/generate.py @@ -56,6 +56,8 @@ "redis", "groq/llama3-70b-8192", ] +# subject to future OpenAI changes +DEFAULT_BAD_OUTPUT_PROCESS_MODEL = "gpt-4o-mini" OutputType = TypeVar("OutputType", bound=object)