tawfik.gh commited on
Commit
0cbe9ff
1 Parent(s): 870e8c4
.devcontainer/devcontainer.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2
+ // README at: https://github.com/devcontainers/templates/tree/main/src/debian
3
+ {
4
+ "name": "Debian",
5
+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6
+ "image": "mcr.microsoft.com/devcontainers/base:bullseye",
7
+ "features": {
8
+ "ghcr.io/akhildevelops/devcontainer-features/pip:0": {}
9
+ }
10
+
11
+ // Features to add to the dev container. More info: https://containers.dev/features.
12
+ // "features": {},
13
+
14
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
15
+ // "forwardPorts": [],
16
+
17
+ // Configure tool-specific properties.
18
+ // "customizations": {},
19
+
20
+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
21
+ // "remoteUser": "root"
22
+ }
.github/dependabot.yml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for more information:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+ # https://containers.dev/guide/dependabot
6
+
7
+ version: 2
8
+ updates:
9
+ - package-ecosystem: "devcontainers"
10
+ directory: "/"
11
+ schedule:
12
+ interval: weekly
app.py CHANGED
@@ -18,10 +18,10 @@ encoder = HuggingFaceEncoder(name="dwzhu/e5-base-4k")
18
 
19
  # groq_client = Groq(api_key="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")
20
  # st.secrets['REPLICATE_API_TOKEN']
21
- llm = Groq(model="llama3-70b-8192", api_key="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")
22
 
23
  # configure client
24
- pc = Pinecone(api_key="595c294f-e189-4051-9023-35461b30dc47")
25
 
26
  index = pc.Index(index_name)
27
  time.sleep(1)
 
18
 
19
  # groq_client = Groq(api_key="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")
20
  # st.secrets['REPLICATE_API_TOKEN']
21
+ llm = Groq(model="llama3-70b-8192", api_key=st.secrets["GROQ_API_KEY"])
22
 
23
  # configure client
24
+ pc = Pinecone(api_key=st.secrets["PINECONE_API_KEY"])
25
 
26
  index = pc.Index(index_name)
27
  time.sleep(1)