connorsisacat commited on
Commit
1d3e9b2
·
1 Parent(s): 5f8e208

change readme

Browse files
Files changed (1) hide show
  1. README.md +11 -79
README.md CHANGED
@@ -1,79 +1,11 @@
1
- # my-app
2
-
3
- ## Installation
4
-
5
- Install the LangChain CLI if you haven't yet
6
-
7
- ```bash
8
- pip install -U langchain-cli
9
- ```
10
-
11
- ## Adding packages
12
-
13
- ```bash
14
- # adding packages from
15
- # https://github.com/langchain-ai/langchain/tree/master/templates
16
- langchain app add $PROJECT_NAME
17
-
18
- # adding custom GitHub repo packages
19
- langchain app add --repo $OWNER/$REPO
20
- # or with whole git string (supports other git providers):
21
- # langchain app add git+https://github.com/hwchase17/chain-of-verification
22
-
23
- # with a custom api mount point (defaults to `/{package_name}`)
24
- langchain app add $PROJECT_NAME --api_path=/my/custom/path/rag
25
- ```
26
-
27
- Note: you remove packages by their api path
28
-
29
- ```bash
30
- langchain app remove my/custom/path/rag
31
- ```
32
-
33
- ## Setup LangSmith (Optional)
34
- LangSmith will help us trace, monitor and debug LangChain applications.
35
- You can sign up for LangSmith [here](https://smith.langchain.com/).
36
- If you don't have access, you can skip this section
37
-
38
-
39
- ```shell
40
- export LANGCHAIN_TRACING_V2=true
41
- export LANGCHAIN_API_KEY=<your-api-key>
42
- export LANGCHAIN_PROJECT=<your-project> # if not specified, defaults to "default"
43
- ```
44
-
45
- ## Launch LangServe
46
-
47
- ```bash
48
- langchain serve
49
- ```
50
-
51
- ## Running in Docker
52
-
53
- This project folder includes a Dockerfile that allows you to easily build and host your LangServe app.
54
-
55
- ### Building the Image
56
-
57
- To build the image, you simply:
58
-
59
- ```shell
60
- docker build . -t my-langserve-app
61
- ```
62
-
63
- If you tag your image with something other than `my-langserve-app`,
64
- note it for use in the next step.
65
-
66
- ### Running the Image Locally
67
-
68
- To run the image, you'll need to include any environment variables
69
- necessary for your application.
70
-
71
- In the below example, we inject the `OPENAI_API_KEY` environment
72
- variable with the value set in my local environment
73
- (`$OPENAI_API_KEY`)
74
-
75
- We also expose port 8080 with the `-p 8080:8080` option.
76
-
77
- ```shell
78
- docker run -e OPENAI_API_KEY=$OPENAI_API_KEY -p 8080:8080 my-langserve-app
79
- ```
 
1
+ ---
2
+ title: RPAI2024 Bot
3
+ emoji: 📉
4
+ colorFrom: gray
5
+ colorTo: indigo
6
+ sdk: docker
7
+ pinned: false
8
+ license: other
9
+ ---
10
+
11
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference