Skip to content

Commit cbc1e48

Browse files
committed
langchain template readme updated, added containers architecture
1 parent 26ea235 commit cbc1e48

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ app
6464
└───test
6565
```
6666

67+
## Containers Architecture
68+
69+
![langchain-architecture](https://res.cloudinary.com/dnv0qwkrk/image/upload/v1693340056/Allient/create-fastapi-project/image_2_mraj02.png)
70+
As this project uses [Caddy](https://caddyserver.com/) as a reverse proxy, which uses namespaces routing, you can access the documentation with the following path [http://fastapi.localhost/docs](http://fastapi.localhost/docs)
71+
6772
## ENV Variables
6873

6974
```bash

create_fastapi_project/templates/langchain_basic/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ This is a FastAPI project initialized using [`create-fastapi-project`](https://g
2525
2. Get your API key from [API Key - SerpApi](https://serpapi.com/manage-api-key).
2626
3. Set your API key as an environment variable named `SERP_API_KEY`.
2727

28-
## Reverse Proxy
28+
## Containers Architecture
2929

30-
This project employs [Caddy](https://caddyserver.com/) as a reverse proxy to efficiently route and manage incoming requests.
30+
As this project uses [Caddy](https://caddyserver.com/) as a reverse proxy, which uses namespaces routing, you can access the documentation with the following path [http://fastapi.localhost/docs](http://fastapi.localhost/docs)
3131

3232
## Getting Started
3333

@@ -60,7 +60,7 @@ make install
6060
make run-app
6161
```
6262

63-
Open [http://localhost:8000/docs](http://localhost:8000/docs) with your browser to see the result.
63+
Open [http://fastapi.localhost/docs](http://fastapi.localhost/docs) with your browser to see the result.
6464

6565
You can start editing the server by modifying `app/main.py`.
6666

@@ -72,7 +72,7 @@ You can start editing the server by modifying `app/main.py`.
7272
- Search pokemon by name or id ![pokemon-tool](https://res.cloudinary.com/dnv0qwkrk/image/upload/v1692746086/Allient/create-fastapi-project/pokemon-tool-demo_ggsc63.gif)
7373

7474
And also includes a agent that uses the tools to answer your questions.
75-
You can access the agent by opening [http://localhost:8000/chat](http://localhost:8000/chat) with your browser or you can use the frontend server.
75+
You can access the agent by opening [http://fastapi.localhost/chat](http://fastapi.localhost/chat) with your browser or you can use the frontend server.
7676

7777
## Frontend server
7878

0 commit comments

Comments
 (0)