@@ -39,11 +39,12 @@ Checkout the repository, start the docker environment and install dependencies:
3939``` shell
4040git clone git@github.com:symfony/ai-demo.git
4141cd ai-demo
42+ composer install
4243docker compose up -d
43- docker compose run composer install
44+ symfony serve -d
4445```
4546
46- Now you should be able to open https://localhost/ in your browser,
47+ Now you should be able to open https://localhost:8000 / in your browser,
4748and the chatbot UI should be available for you to start chatting.
4849
4950> [ !NOTE]
@@ -61,7 +62,7 @@ echo "OPENAI_API_KEY='sk-...'" > .env.local
6162Verify the success of this step by running the following command:
6263
6364``` shell
64- docker compose exec app bin/ console debug:dotenv
65+ symfony console debug:dotenv
6566```
6667
6768You should be able to see the ` OPENAI_API_KEY ` in the list of environment variables.
@@ -73,13 +74,13 @@ The [Chroma DB](https://www.trychroma.com/) is a vector store that is used to st
7374To initialize the Chroma DB, you need to run the following command:
7475
7576``` shell
76- docker compose exec app bin/ console app:blog:embed -vv
77+ symfony console app:blog:embed -vv
7778```
7879
7980Now you should be able to run the test command and get some results:
8081
8182``` shell
82- docker compose exec app bin/ console app:blog:query
83+ symfony console app:blog:query
8384```
8485
8586** Don't forget to set up the project in your favorite IDE or editor.**
@@ -115,7 +116,7 @@ To add the server, add the following configuration to your MCP Client's settings
115116You can test the MCP server by running the following command to start the MCP client:
116117
117118``` shell
118- php bin/ console mcp:server
119+ symfony console mcp:server
119120```
120121
121122Then, paste ` {"method":"tools/list","jsonrpc":"2.0","id":1} ` to list the tools available on the MCP server.
0 commit comments